From ce047b71434db470571368b7af11860a16c319be Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 27 Mar 2021 19:32:05 +0100 Subject: [PATCH] fix: Own user in people list --- lib/components/contacts_list.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/components/contacts_list.dart b/lib/components/contacts_list.dart index 01dd3f83..841c45fa 100644 --- a/lib/components/contacts_list.dart +++ b/lib/components/contacts_list.dart @@ -56,10 +56,6 @@ class _ContactsState extends State { .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]),