fix: Dont show random users in top bar

This commit is contained in:
Christian Pauly 2021-02-18 14:36:09 +01:00
parent ec64cf6232
commit 54e268b81b
1 changed files with 0 additions and 7 deletions

View File

@ -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() ??