Skip to content

Commit d3a14ee

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

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
@@ -782,6 +782,7 @@ class UpdateMachine {
782782
case ZulipApiException(code: 'BAD_EVENT_QUEUE_ID'):
783783
assert(debugLog('Lost event queue for $store. Replacing…'));
784784
await store._globalStore._reloadPerAccount(store.accountId);
785+
reportErrorToUserBriefly('Reconnecting to server.');
785786
dispose();
786787
debugLog('… Event queue replaced.');
787788
return;

0 commit comments

Comments
 (0)