chore: Follow up sdk update fix

This commit is contained in:
Christian Pauly 2022-07-10 13:09:53 +02:00
parent 384a21bef7
commit dec28087ee

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