decord/beta/source/actions/native/CreateGuildActionCreators.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

29 lines
1,017 B
TypeScript

// Module ID: 12893
// Function ID: 12894
// Name: CreateGuildActionCreators
// Dependencies: [2100, 1078, 10055, 2]
// Exports: showInstantInviteModal
// Module 12893 (CreateGuildActionCreators)
import GuildChannelStore from "GuildChannelStore" /* 2100 */;
const require = fn;
const InstantInviteSources = fn(1078).InstantInviteSources;
const size = fn(2);
let result = size.fileFinishedImporting("actions/native/CreateGuildActionCreators.tsx");
export const showInstantInviteModal = function showInstantInviteModal(arg0) {
closure_0 = arg0;
let result = GuildChannelStore.addConditionalChangeListener(() => {
defaultChannel = GuildChannelStore.getDefaultChannel(defaultChannel);
let flag = null == defaultChannel;
if (!flag) {
const _setImmediate = setImmediate;
setImmediate(() => {
const result = defaultChannel(dependencyMap[2]).showInstantInviteActionSheet(defaultChannel, { source: constants.GUILD_CREATE });
});
flag = false;
}
return flag;
});
};