NoBlockedMessages: Fix Crashing
This commit is contained in:
parent
2a0f62d749
commit
f54dccda69
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ export default definePlugin({
|
|||
|
||||
const replyMessage = MessageStore.getMessage(messageReference.channel_id, messageReference.message_id);
|
||||
|
||||
return replyMessage ? this.isBlocked(replyMessage) : false;
|
||||
return replyMessage ? this.shouldIgnoreMessage(replyMessage) : false;
|
||||
} catch (e) {
|
||||
new Logger("NoBlockedMessages").error("Failed to check if referenced message is blocked:", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue