Skip to content

Commit dd49897

Browse files
committed
msglist [nfc]: Renumber a TODO about muting
We already handle muted topics, but we still need to update the message list on muting/unmuting a channel, which is #1255.
1 parent 8bf418e commit dd49897

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/model/channel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class ChannelStoreImpl with ChannelStore {
322322
case SubscriptionProperty.color:
323323
subscription.color = event.value as int;
324324
case SubscriptionProperty.isMuted:
325-
// TODO(#421) update [MessageListView] if affected
325+
// TODO(#1255) update [MessageListView] if affected
326326
subscription.isMuted = event.value as bool;
327327
case SubscriptionProperty.inHomeView:
328328
subscription.isMuted = !(event.value as bool);

lib/model/message_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ class MessageListView with ChangeNotifier, _MessageSequence {
11321132
case MentionsNarrow():
11331133
case StarredMessagesNarrow():
11341134
// The messages didn't enter or leave this narrow.
1135-
// TODO(#421): … except they may have become muted or not.
1135+
// TODO(#1255): … except they may have become muted or not.
11361136
// We'll handle that at the same time as we handle muting itself changing.
11371137
// Recipient headers, and downstream of those, may change, though.
11381138
_messagesMovedInternally(messageIds);

0 commit comments

Comments
 (0)