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,19 @@
// Metro module 11847 (f11848).
import GuildChannelStore from "../../stores/GuildChannelStore";
import { InstantInviteSources } from "../../Constants";
import { showInstantInviteActionSheet } from "../../modules/instant_invite/native/InstantInviteUtils";
export function showInstantInviteModal(c19213_0) {
GuildChannelStore.addConditionalChangeListener(() => {
const defaultChannel = GuildChannelStore.getDefaultChannel(c19213_0);
let r9 = defaultChannel == null;
if (!r9) {
setImmediate(() => {
showInstantInviteActionSheet(defaultChannel, {
source: InstantInviteSources.GUILD_CREATE
});
});
r9 = false;
}
return r9;
});
}