Skip to content

Commit 0ae8d1d

Browse files
committed
store: Show error message when replacing event queue.
Signed-off-by: Zixuan James Li <[email protected]>
1 parent 549d40c commit 0ae8d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/model/store.dart

+1
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ class UpdateMachine {
781781
switch (e) {
782782
case ZulipApiException(code: 'BAD_EVENT_QUEUE_ID'):
783783
assert(debugLog('Lost event queue for $store. Replacing…'));
784+
reportErrorToUserBriefly('Reconnecting to server.');
784785
await store._globalStore._reloadPerAccount(store.accountId);
785786
dispose();
786787
debugLog('… Event queue replaced.');

0 commit comments

Comments
 (0)