chore: Follow up sdk update fix

This commit is contained in:
Christian Pauly 2022-07-10 13:09:53 +02:00
parent 5f0b5784c1
commit 9e55f6a4d3

View File

@ -529,7 +529,7 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
final client = Matrix.of(context).client;
await client.roomsLoading;
await client.accountDataLoading;
if (client.onSync.value == null) {
if (client.prevBatch == null) {
await client.onSync.stream.first;
}
// Load space members to display DM rooms