diff --git a/lib/model/message_list.dart b/lib/model/message_list.dart index 73f15265f9..f47258a5bd 100644 --- a/lib/model/message_list.dart +++ b/lib/model/message_list.dart @@ -288,6 +288,7 @@ mixin _MessageSequence { /// Update [items] to include markers at start and end as appropriate. void _updateEndMarkers() { + assert(fetched); assert(!(haveOldest && fetchingOlder)); final startMarker = switch ((fetchingOlder, haveOldest)) { (true, _) => const MessageListLoadingItem(MessageListDirection.older),