From 9e55f6a4d300ff238b25d623696bb2a4d681ec6f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 10 Jul 2022 13:09:53 +0200 Subject: [PATCH] chore: Follow up sdk update fix --- lib/pages/chat_list/chat_list.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 289603f8..6fde027d 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -529,7 +529,7 @@ class ChatListController extends State 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