aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/permissionsViewer
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-09-05 18:34:12 +0200
committerV <vendicated@riseup.net>2023-09-05 18:36:14 +0200
commit2c758ccdf8372c48f2d2a79ece8f2eba63f1510c (patch)
treedfd63397b054a2c3ab48550109dfc75a4c7b38f3 /src/plugins/permissionsViewer
parentc165725297a9e8aadea15cb22957db38b37c4515 (diff)
downloadVencord-2c758ccdf8372c48f2d2a79ece8f2eba63f1510c.tar.gz
Vencord-2c758ccdf8372c48f2d2a79ece8f2eba63f1510c.tar.bz2
Vencord-2c758ccdf8372c48f2d2a79ece8f2eba63f1510c.zip
new plugin: ServerProfile (#1704)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Diffstat (limited to 'src/plugins/permissionsViewer')
-rw-r--r--src/plugins/permissionsViewer/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/permissionsViewer/index.tsx b/src/plugins/permissionsViewer/index.tsx
index 480efc1..7de29b3 100644
--- a/src/plugins/permissionsViewer/index.tsx
+++ b/src/plugins/permissionsViewer/index.tsx
@@ -178,12 +178,12 @@ export default definePlugin({
start() {
addContextMenuPatch("user-context", this.userContextMenuPatch);
addContextMenuPatch("channel-context", this.channelContextMenuPatch);
- addContextMenuPatch("guild-context", this.guildContextMenuPatch);
+ addContextMenuPatch(["guild-context", "guild-header-popout"], this.guildContextMenuPatch);
},
stop() {
removeContextMenuPatch("user-context", this.userContextMenuPatch);
removeContextMenuPatch("channel-context", this.channelContextMenuPatch);
- removeContextMenuPatch("guild-context", this.guildContextMenuPatch);
+ removeContextMenuPatch(["guild-context", "guild-header-popout"], this.guildContextMenuPatch);
},
});