Skip to content

Commit

Permalink
api [nfc]: Add warning about a list not being sorted
Browse files Browse the repository at this point in the history
As Greg suggests:
  zulip#304 (comment)
  • Loading branch information
chrisbobbe committed Oct 19, 2023
1 parent e4e5705 commit 7ff3ac2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/api/model/initial_snapshot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,10 @@ class UnreadMessagesSnapshot {

final List<UnreadStreamSnapshot> streams;
final List<UnreadHuddleSnapshot> huddles;

// Unlike other lists of message IDs here, [mentions] is *not* sorted.
final List<int> mentions;

final bool oldUnreadsMissing;

UnreadMessagesSnapshot({
Expand Down

0 comments on commit 7ff3ac2

Please sign in to comment.