Skip to content

Commit 59a2f67

Browse files
committed
unreads [nfc]: Remove comment about a bug fixed in Server 6
Fixes-partly: #1837
1 parent f52ce7f commit 59a2f67

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lib/model/unreads.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,8 @@ class Unreads extends PerAccountStoreBase with ChangeNotifier {
453453
final newlyUnreadInDms = <DmNarrow, QueueList<int>>{};
454454
for (final messageId in event.messages) {
455455
final detail = event.messageDetails![messageId];
456-
if (detail == null) { // TODO(log) if on Zulip 6.0+
457-
// Happens as a bug in some cases before fixed in Zulip 6.0:
458-
// https://chat.zulip.org/#narrow/stream/378-api-design/topic/unreads.20in.20unsubscribed.20streams/near/1458467
459-
// TODO(server-6) remove Zulip 6.0 comment
460-
continue;
461-
}
456+
if (detail == null) continue; // TODO(log)
457+
462458
if (detail.mentioned == true) {
463459
mentions.add(messageId);
464460
}

0 commit comments

Comments
 (0)