diff --git a/src/plugins/pronoundb/components/PronounsChatComponent.tsx b/src/plugins/pronoundb/components/PronounsChatComponent.tsx index e302676b..3e51544b 100644 --- a/src/plugins/pronoundb/components/PronounsChatComponent.tsx +++ b/src/plugins/pronoundb/components/PronounsChatComponent.tsx @@ -26,10 +26,12 @@ import { settings } from "../settings"; const styles: Record = findByPropsLazy("timestampInline"); +const AUTO_MODERATION_ACTION = 24; + function shouldShow(message: Message): boolean { if (!settings.store.showInMessages) return false; - if (message.author.bot || message.author.system) + if (message.author.bot || message.author.system || message.type === AUTO_MODERATION_ACTION) return false; if (!settings.store.showSelf && message.author.id === UserStore.getCurrentUser().id) return false;