diff options
author | V <vendicated@riseup.net> | 2023-09-05 18:34:12 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-09-05 18:36:14 +0200 |
commit | 2c758ccdf8372c48f2d2a79ece8f2eba63f1510c (patch) | |
tree | dfd63397b054a2c3ab48550109dfc75a4c7b38f3 /src/plugins/permissionsViewer | |
parent | c165725297a9e8aadea15cb22957db38b37c4515 (diff) | |
download | Vencord-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.tsx | 4 |
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); }, }); |