mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
fix: Own user in people list
This commit is contained in:
parent
be6d7c5103
commit
ce047b7143
@ -56,10 +56,6 @@ class _ContactsState extends State<ContactsList> {
|
||||
.toLowerCase()
|
||||
.contains(widget.searchController.text.toLowerCase()))
|
||||
.toList();
|
||||
if (client.presences[client.userID]?.presence?.statusMsg?.isNotEmpty ??
|
||||
false) {
|
||||
contactList.insert(0, client.presences[client.userID]);
|
||||
}
|
||||
return ListView.builder(
|
||||
itemCount: contactList.length,
|
||||
itemBuilder: (_, i) => _ContactListTile(contact: contactList[i]),
|
||||
|
Loading…
Reference in New Issue
Block a user