fix(SupportHelper): dont flag vencord web as externally updated

This commit is contained in:
Vendicated 2024-05-08 23:52:28 +02:00
parent 025193533d
commit 6bd0898efe
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -139,7 +139,7 @@ ${makeCodeblock(enabledPlugins.join(", "))}
const roles = GuildMemberStore.getSelfMember(VENCORD_GUILD_ID)?.roles; const roles = GuildMemberStore.getSelfMember(VENCORD_GUILD_ID)?.roles;
if (!roles || TrustedRolesIds.some(id => roles.includes(id))) return; if (!roles || TrustedRolesIds.some(id => roles.includes(id))) return;
if (IS_UPDATER_DISABLED) { if (!IS_WEB && IS_UPDATER_DISABLED) {
return Alerts.show({ return Alerts.show({
title: "Hold on!", title: "Hold on!",
body: <div> body: <div>