aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico <nico@d3sox.me>2023-01-14 20:32:33 +0100
committerGitHub <noreply@github.com>2023-01-14 20:32:33 +0100
commitbe7fa0cb3f7a30c604315d08f6bf3a4dc51c62a5 (patch)
tree230e54e3f8f6687c87770bee362a036f8d2fcb3f /src
parent9338b92b1a3b68308950a20f0d694901e4c39e2a (diff)
downloadVencord-be7fa0cb3f7a30c604315d08f6bf3a4dc51c62a5.tar.gz
Vencord-be7fa0cb3f7a30c604315d08f6bf3a4dc51c62a5.tar.bz2
Vencord-be7fa0cb3f7a30c604315d08f6bf3a4dc51c62a5.zip
fix(showHiddenChannels): remove obsolete icons patch (#416)
resolves https://github.com/Vendicated/Vencord/issues/415
Diffstat (limited to 'src')
-rw-r--r--src/plugins/showHiddenChannels.tsx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/showHiddenChannels.tsx b/src/plugins/showHiddenChannels.tsx
index 7f52635..ea6fcc2 100644
--- a/src/plugins/showHiddenChannels.tsx
+++ b/src/plugins/showHiddenChannels.tsx
@@ -53,14 +53,6 @@ export default definePlugin({
}
},
{
- // This is where the logic that chooses the icon is, we override it to be a locked voice channel if it's hidden
- find: ".rulesChannelId))",
- replacement: {
- match: /(\w+)\.locked(.*?)switch\((\w+)\.type\)({case \w+\.\w+\.GUILD_ANNOUNCEMENT)/g,
- replace: "Vencord.Plugins.plugins.ShowHiddenChannels.isHiddenChannel($3)||$1.locked$2switch($3._isHiddenChannel?2:$3.type)$4"
- }
- },
- {
// inside the onMouseClick handler, we check if the channel is hidden and open the modal if it is
find: ".handleThreadsPopoutClose();",
replacement: {