Use member count instead of counting members (#530)
Use member count instead of counting members For the room details screen, use the member count as supplied by matrix instead of waiting for the entire member list to be retrieved and then manually adding up all the relevant users. This removes the loading state of the member count, relying on a spinner on the member list itself if the user actually wants to see the members. (The performance of that will be improved separately on the rust side in the future) Closes #505
This commit is contained in:
parent
044a3c991e
commit
7308428596
20 changed files with 29 additions and 127 deletions
|
|
@ -43,6 +43,7 @@ interface MatrixRoom : Closeable {
|
|||
val isEncrypted: Boolean
|
||||
val isDirect: Boolean
|
||||
val isPublic: Boolean
|
||||
val joinedMemberCount: Long
|
||||
|
||||
/**
|
||||
* The current loaded members as a StateFlow.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue