Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mobile/lib/controllers/chat/active_chat_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ class ActiveChatController extends ChangeNotifier {
await _cache(targetUid, older);
} catch (e) {
debugPrint("Failed to load older messages: $e");
// Stop paging until the chat is reopened; otherwise the rebuild below
// re-triggers this from the scroll listener in a tight retry loop.
hasMoreMessages = false;
} finally {
isLoadingMore = false;
notifyListeners();
Expand Down
Loading