fix: Dont show random users in top bar
This commit is contained in:
parent
2d9f40976d
commit
cb770f8884
1 changed files with 0 additions and 7 deletions
|
|
@ -19,13 +19,6 @@ extension ClientPresenceExtension on Client {
|
|||
),
|
||||
)
|
||||
.toList();
|
||||
contactList.addAll(
|
||||
presences.values
|
||||
.where((p) =>
|
||||
!directChatsMxid.contains(p.senderId) &&
|
||||
(p.presence?.statusMsg?.isNotEmpty ?? false))
|
||||
.toList(),
|
||||
);
|
||||
|
||||
contactList.sort((a, b) => a.senderId.compareTo(b.senderId));
|
||||
contactList.sort((a, b) => (a.presence.lastActiveAgo?.toDouble() ??
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue