mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +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();
|
.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.senderId.compareTo(b.senderId));
|
||||||
contactList.sort((a, b) => (a.presence.lastActiveAgo?.toDouble() ??
|
contactList.sort((a, b) => (a.presence.lastActiveAgo?.toDouble() ??
|
||||||
|
Loading…
x
Reference in New Issue
Block a user