We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a4541 commit bb200acCopy full SHA for bb200ac
lib/model/recent_senders.dart
@@ -96,6 +96,7 @@ class RecentSenders {
96
Iterable<int> messageIds,
97
Map<int, Message> cachedMessages,
98
) {
99
+ assert(isSortedWithoutDuplicates(messageIds.toList()));
100
final messagesBySender = <int, QueueList<int>>{};
101
for (final id in messageIds) {
102
final message = cachedMessages[id] as StreamMessage?;
0 commit comments