NoServerEmojis: Fix detecting server emojis (#2835)

This commit is contained in:
Maddie 2024-09-03 03:53:03 +02:00 committed by GitHub
parent 4c4f2894fb
commit 30e4e83158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ export default definePlugin({
} }
], ],
shouldSkip(guildId: string, emoji: any) { shouldSkip(guildId: string, emoji: any) {
if (emoji.type !== "GUILD_EMOJI") { if (emoji.type !== 1) {
return false; return false;
} }
if (settings.store.shownEmojis === "onlyUnicode") { if (settings.store.shownEmojis === "onlyUnicode") {