aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAutumnVN <autumnvnchino@gmail.com>2023-09-06 23:50:20 +0700
committerGitHub <noreply@github.com>2023-09-06 18:50:20 +0200
commit315fcf1972760231cdfa96c30c40035d2c1c7583 (patch)
tree429e260af18d1299b6a8371d273a537ab5b38e98 /src
parentf1b3b3c0a3656ae2fa354f3f822ce8bdd041c87c (diff)
downloadVencord-315fcf1972760231cdfa96c30c40035d2c1c7583.tar.gz
Vencord-315fcf1972760231cdfa96c30c40035d2c1c7583.tar.bz2
Vencord-315fcf1972760231cdfa96c30c40035d2c1c7583.zip
messageLogger: make ignoreChannels also ignore threads (#1709)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/messageLogger/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx
index 0be616a..9c66560 100644
--- a/src/plugins/messageLogger/index.tsx
+++ b/src/plugins/messageLogger/index.tsx
@@ -206,6 +206,7 @@ export default definePlugin({
ignoreSelf && message.author?.id === myId ||
ignoreUsers.includes(message.author?.id) ||
ignoreChannels.includes(message.channel_id) ||
+ ignoreChannels.includes(ChannelStore.getChannel(message.channel_id)?.parent_id) ||
ignoreGuilds.includes(ChannelStore.getChannel(message.channel_id)?.guild_id);
},