fix(QuickReply): bug in the conflict check for NoBlockedMessages (#1039)

This commit is contained in:
Key 2026-05-01 03:32:18 +01:00 • committed by GitHub
parent 49e06e4c04
commit 359386daed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,7 +143,7 @@ function getNextMessage(isUp: boolean, isReply: boolean) {
if (!isReply && m.author.id !== meId) return false; // editing only own messages
if (!MessageTypeSets.REPLYABLE.has(m.type) || m.hasFlag(MessageFlags.EPHEMERAL)) return false;
if (settings.store.ignoreBlockedAndIgnored && RelationshipStore.isBlockedOrIgnored(m.author.id)) return false;
if (hasNoBlockedMessages && NoBlockedMessagesPlugin.isSuppressed(m)) return false;
if (hasNoBlockedMessages && NoBlockedMessagesPlugin.isSuppressed(m).suppressed) return false;
return true;
});