Revert "add DMKeeper plugin (#858)"

This reverts commit e453ad296f.
This commit is contained in:
thororen1234 2026-03-02 14:31:31 -05:00
parent e453ad296f
commit 8dd62834a2
No known key found for this signature in database
2 changed files with 1 additions and 28 deletions

View file

@ -1,23 +0,0 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2026 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
export default definePlugin({
name: "DMKeeper",
description: "Prevents Discord from automatically hiding old DM conversations from your sidebar.",
authors: [EquicordDevs.Awizz],
patches: [
{
find: "getSortedPrivateChannels(){",
replacement: {
match: /(\i)\.length>(\i)&&(\i)\.shift\(\)/,
replace: "false"
}
}
],
});

View file

@ -1263,11 +1263,7 @@ export const EquicordDevs = Object.freeze({
Leon135: {
name: "Leon135",
id: 309275452231385088n,
},
Awizz: {
name: "Awizz",
id: 1267951485585461288n,
},
}
} satisfies Record<string, Dev>);
// iife so #__PURE__ works correctly