fix: Own presence at top of the list

This commit is contained in:
Christian Pauly 2021-02-27 07:41:00 +01:00
parent ec2e302232
commit ac6fcd1594
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class _ContactsState extends State<Contacts> {
.toList();
if (client.presences[client.userID]?.presence?.statusMsg?.isNotEmpty ??
false) {
contactList.add(client.presences[client.userID]);
contactList.insert(0, client.presences[client.userID]);
}
return Scaffold(
appBar: AppBar(