Commit 2678834
authored
Fix broken direct room member for rooms with old users that left (#3324)
This patch fixes getDirectRoomMember not respecting direct rooms
with more than two members total but only two active. This commonly
occurs when users migrate to a new account by adding a new account
to rooms and leaving with the old one.
Other parts of the codebase (such as the people room list filter)
already respect the active member count of a room instead of the
total (historic) number of unique members.
This fixes the room details screen not showing up correctly, for
example missing the avatar cluster.
Signed-off-by: networkException <[email protected]>1 parent 9c64bdd commit 2678834
File tree
1 file changed
+1
-0
lines changed- libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/room
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments