mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
fix: Dont show random users in top bar
This commit is contained in:
parent
ec64cf6232
commit
54e268b81b
@ -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…
Reference in New Issue
Block a user