Skip to content

Commit a76787a

Browse files
committed
RecentDmConversationsPage [nfc]: Add TODO for muting users
1 parent 4cb1951 commit a76787a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/widgets/recent_dm_conversations.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ class RecentDmConversationsItem extends StatelessWidget {
100100
title = selfUser.fullName;
101101
avatar = AvatarImage(userId: selfUser.userId);
102102
case [var otherUserId]:
103+
// TODO(#296) actually don't show this row if the user is muted?
104+
// (should we offer a "spam" style summary screen of recent 1:1 DM
105+
// conversations from muted users?)
103106
final otherUser = store.users[otherUserId];
104107
title = otherUser?.fullName ?? '(unknown user)';
105108
avatar = AvatarImage(userId: otherUserId);

0 commit comments

Comments
 (0)