From db5e507951f42b520cc2dded966c4bd77f373d8a Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 22 Oct 2025 22:11:00 +0200 Subject: [PATCH 1/3] fix NoBlockedMessages --- src/plugins/noBlockedMessages/index.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/plugins/noBlockedMessages/index.ts b/src/plugins/noBlockedMessages/index.ts index 1a4d691f6..c8fe022aa 100644 --- a/src/plugins/noBlockedMessages/index.ts +++ b/src/plugins/noBlockedMessages/index.ts @@ -18,7 +18,7 @@ import { definePluginSettings, migratePluginSetting } from "@api/Settings"; import { Devs } from "@utils/constants"; -import { runtimeHashMessageKey } from "@utils/intlHash"; +import { runtimeHashMessageKey, runtimeHashMessageKeyLegacy } from "@utils/intlHash"; import { Logger } from "@utils/Logger"; import definePlugin, { OptionType } from "@utils/types"; import { Message } from "@vencord/discord-types"; @@ -92,14 +92,11 @@ export default definePlugin({ shouldHide(props: MessageDeleteProps): boolean { try { const collapsedReason = props.collapsedReason(); - const blockedReason = i18n.t[runtimeHashMessageKey("BLOCKED_MESSAGE_COUNT")](); - const ignoredReason = settings.store.applyToIgnoredUsers - ? i18n.t[runtimeHashMessageKey("IGNORED_MESSAGE_COUNT")]() - : null; + const is = (key: string) => collapsedReason === i18n.t[runtimeHashMessageKey(key)]() || collapsedReason === i18n.t[runtimeHashMessageKeyLegacy(key)](); - return collapsedReason === blockedReason || collapsedReason === ignoredReason; + return is("BLOCKED_MESSAGE_COUNT") || (settings.store.applyToIgnoredUsers && is("IGNORED_MESSAGE_COUNT")); } catch (e) { - console.error(e); + new Logger("NoBlockedMessages").error("Failed to check if message should be hidden:", e); return false; } } From e9fd7db6e650a6cf242f47d17852e0d90f5389e8 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 22 Oct 2025 22:22:49 +0200 Subject: [PATCH 2/3] GameActivityToggle: fix panel overflow --- src/plugins/gameActivityToggle/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/gameActivityToggle/style.css b/src/plugins/gameActivityToggle/style.css index 040212ce9..a57cc24ec 100644 --- a/src/plugins/gameActivityToggle/style.css +++ b/src/plugins/gameActivityToggle/style.css @@ -1,4 +1,3 @@ -/* make gap smaller since we're adding an extra button */ -[class^="panels"] [class^="buttons"] { - gap: 4px; +[class^="panels"] [class^="avatarWrapper_"] { + min-width: 0; } \ No newline at end of file From ebe2b2769c5484dd9a96671848a015cb325b1566 Mon Sep 17 00:00:00 2001 From: Elvyra <88881326+EepyElvyra@users.noreply.github.com> Date: Wed, 22 Oct 2025 22:33:14 +0200 Subject: [PATCH 3/3] BetterSettings: remove duplicate "Other options" menu entries (#3727) Co-authored-by: V --- src/plugins/betterSettings/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/betterSettings/index.tsx b/src/plugins/betterSettings/index.tsx index 4e04b4df4..4a359a0ca 100644 --- a/src/plugins/betterSettings/index.tsx +++ b/src/plugins/betterSettings/index.tsx @@ -171,10 +171,11 @@ export default definePlugin({ }, wrapMap(toWrap: any[]) { + const otherOptions = getIntlMessage("OTHER_OPTIONS"); // @ts-expect-error toWrap.map = function (render: (item: SettingsEntry) => ReactElement) { return this - .filter(a => a.items.length > 0) + .filter(a => a.items.length > 0 && a.label !== otherOptions) .map(({ label, items }) => { const children = items.map(render); if (label) {