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 8371a0a commit f35625eCopy full SHA for f35625e
lib/model/user.dart
@@ -84,7 +84,8 @@ mixin UserStore on PerAccountStoreBase {
84
/// By default, looks for the recipients in [UserStore.mutedUsers] unless
85
/// [mutedUsers] is non-null, in which case looks in the latter.
86
bool allRecipientsMuted(DmNarrow narrow, {List<MutedUserItem>? mutedUsers}) {
87
- return !narrow.otherRecipientIds.any((id) => !isUserMuted(id, mutedUsers: mutedUsers));
+ return narrow.otherRecipientIds.isNotEmpty // TODO fix this method's doc
88
+ && !narrow.otherRecipientIds.any((id) => !isUserMuted(id, mutedUsers: mutedUsers));
89
}
90
91
/// Whether the given event will change the result of [allRecipientsMuted]
0 commit comments