2026-10-13 12:43:34 +00:00
|
|
|
// Module ID: 13022
|
|
|
|
|
// Function ID: 13023
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: CreateGuildActionCreators
|
2026-10-12 06:59:38 +00:00
|
|
|
// Dependencies: [4748, 1085, 8683, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: showInstantInviteModal
|
|
|
|
|
|
2026-10-13 12:43:34 +00:00
|
|
|
// Module 13022 (CreateGuildActionCreators)
|
2026-10-03 08:58:59 +00:00
|
|
|
import Constants from "Constants" /* 1085 */;
|
2026-10-10 08:08:14 +00:00
|
|
|
import GuildChannelStore from "GuildChannelStore" /* 4748 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-10-03 08:58:59 +00:00
|
|
|
const InstantInviteSources = Constants.InstantInviteSources;
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = size.fileFinishedImporting("actions/native/CreateGuildActionCreators.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const showInstantInviteModal = function showInstantInviteModal(arg0) {
|
2026-10-03 08:58:59 +00:00
|
|
|
let closure_0 = arg0;
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = GuildChannelStore.addConditionalChangeListener(() => {
|
2026-10-03 08:58:59 +00:00
|
|
|
const defaultChannel = GuildChannelStore.getDefaultChannel(closure_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
let flag = null == defaultChannel;
|
|
|
|
|
if (!flag) {
|
|
|
|
|
const _setImmediate = setImmediate;
|
|
|
|
|
setImmediate(() => {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = closure_2_0(closure_2_1[2]);
|
|
|
|
|
const obj2 = { source: constants.GUILD_CREATE };
|
|
|
|
|
const result = obj.showInstantInviteActionSheet(defaultChannel, obj2);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
return flag;
|
|
|
|
|
});
|
|
|
|
|
};
|