Merge branch 'krille/fix-wrong-sort-type' into 'master'

Fix wrong type for sort

See merge request famedly/famedlysdk!364
This commit is contained in:
Sorunome 2020-06-25 07:41:51 +00:00
commit 33c2edae19

View file

@ -744,7 +744,7 @@ class Client {
} }
accountData[newAccountData.type] = newAccountData; accountData[newAccountData.type] = newAccountData;
if (onAccountData != null) onAccountData.add(newAccountData); if (onAccountData != null) onAccountData.add(newAccountData);
if (newAccountData.type == 'm.direct') { if (newAccountData.type == 'm.tag') {
_sortRooms(); _sortRooms();
} }
} }