aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-02-28 02:43:54 +0100
committerVendicated <vendicated@riseup.net>2023-02-28 02:43:58 +0100
commitcf56ad985b94e76f79348b8af45e648aa36ef144 (patch)
treeb4b1dbeecd411b5f9a9dc230aea013da106e2aba /src
parentc09d1558f7a2f707b365e2bd55ab70d79b093f18 (diff)
downloadVencord-cf56ad985b94e76f79348b8af45e648aa36ef144.tar.gz
Vencord-cf56ad985b94e76f79348b8af45e648aa36ef144.tar.bz2
Vencord-cf56ad985b94e76f79348b8af45e648aa36ef144.zip
oop oop oop
Diffstat (limited to 'src')
-rw-r--r--src/plugins/supportHelper.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/supportHelper.tsx b/src/plugins/supportHelper.tsx
index 6cf2177..9eb2109 100644
--- a/src/plugins/supportHelper.tsx
+++ b/src/plugins/supportHelper.tsx
@@ -68,7 +68,9 @@ ${makeCodeblock(Object.keys(plugins).filter(Vencord.Plugins.isPluginEnabled).joi
start() {
FluxDispatcher.subscribe("CHANNEL_SELECT", async ({ channelId }) => {
if (channelId !== SUPPORT_CHANNEL_ID) return;
- if (UserStore.getCurrentUser().id in Devs) return;
+
+ const myId = BigInt(UserStore.getCurrentUser().id);
+ if (Object.values(Devs).some(d => d.id === myId)) return;
if (isOutdated && gitHash !== await DataStore.get(REMEMBER_DISMISS_KEY)) {
Alerts.show({