EquicordHelper: Remove old patch

This commit is contained in:
thororen1234 2025-11-26 17:00:01 -05:00
parent 526fbb791c
commit 61f6f4c270
No known key found for this signature in database

View file

@ -14,12 +14,6 @@ import { PluginButtons } from "./pluginButtons";
import { PluginCards } from "./pluginCards";
const settings = definePluginSettings({
disableCreateDMButton: {
type: OptionType.BOOLEAN,
description: "Disables the create dm button",
restartNeeded: true,
default: false,
},
disableDMContextMenu: {
type: OptionType.BOOLEAN,
description: "Disables the DM list context menu in favor of the x button",
@ -59,15 +53,6 @@ export default definePlugin({
}
]
},
// Disable Giant Create DM Button
{
find: ".createDMButtonContainer,",
predicate: () => settings.store.disableCreateDMButton,
replacement: {
match: /"create-dm"\)/,
replace: "$&&&false"
},
},
// Remove DM Context Menu
{
find: "#{intl::DM_OPTIONS}",