diff options
author | AutumnVN <autumnvnchino@gmail.com> | 2023-09-06 23:50:20 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 18:50:20 +0200 |
commit | 315fcf1972760231cdfa96c30c40035d2c1c7583 (patch) | |
tree | 429e260af18d1299b6a8371d273a537ab5b38e98 /src/plugins/messageLogger/index.tsx | |
parent | f1b3b3c0a3656ae2fa354f3f822ce8bdd041c87c (diff) | |
download | Vencord-315fcf1972760231cdfa96c30c40035d2c1c7583.tar.gz Vencord-315fcf1972760231cdfa96c30c40035d2c1c7583.tar.bz2 Vencord-315fcf1972760231cdfa96c30c40035d2c1c7583.zip |
messageLogger: make ignoreChannels also ignore threads (#1709)
Diffstat (limited to 'src/plugins/messageLogger/index.tsx')
-rw-r--r-- | src/plugins/messageLogger/index.tsx | 1 |
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); }, |