This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,32 @@
// Metro module 16480 (f16481).
import Module589 from "../../_bundle/Module589";
import Dispatcher from "../../Dispatcher";
let c11860_0 = {};
class GuildConfigGatesStore extends Module589.Store {
static displayName = "GuildConfigGatesStore";
hasLoaded(a0) {
return c11860_0[a0] != null;
}
getGates(a0) {
let r4 = c11860_0[a0];
if (r4 == null) {
r4 = {
guildVerificationRoleEnabled: false,
applicationIdentityLinkedRolesEnabled: false
};
}
return r4;
}
}
const guildConfigGatesStore = new GuildConfigGatesStore(Dispatcher, {
GUILD_CONFIG_GATES_FETCH_SUCCESS: function handleFetchSuccess(a0) {
c11860_0[a0.guildId] = {
guildVerificationRoleEnabled: a0.guildVerificationRoleEnabled,
applicationIdentityLinkedRolesEnabled: a0.applicationIdentityLinkedRolesEnabled
};
},
LOGOUT: function handleLogout() {
c11860_0 = {};
}
});
export default guildConfigGatesStore;