decord/alpha/source/actions/native/CreateGuildActionCreators.tsx
github-actions f95a0071ef chore: update source for alpha 349.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-29 09:27:02 +00:00

29 lines
1,016 B
TypeScript

// Module ID: 12431
// Function ID: 12432
// Name: CreateGuildActionCreators
// Dependencies: [4467, 1074, 9442, 2]
// Exports: showInstantInviteModal
// Module 12431 (CreateGuildActionCreators)
import GuildChannelStore from "GuildChannelStore" /* 4467 */;
const require = fn;
const InstantInviteSources = fn(1074).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;
});
};