Files
discord-decomp/sources/modules/guild/GuildUtils.tsx
T
2026-07-28 01:06:53 +03:00

28 lines
1.7 KiB
TypeScript

/* Metro module 8640; source: modules/guild/GuildUtils.tsx; dependencies: [6593, 2] */
import GuildActionCreators from '../../actions/GuildActionCreators.tsx'; /* Metro dependency 6593 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun68138(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8825:6, offset: 0x01c409fb, size: 99 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/guild/GuildUtils.tsx');
exports.handleJoinGuild = handleJoinGuild;
function handleJoinGuild(a0) { // fn#68139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8825:172, offset: 0x01c40a5e, size: 71 bytes, params: 2, frame: 13
var value;
const env0_0 = a0;
if (a0 != null) {
value = importDefault(6593) /* metro dependency 6593: GuildActionCreators */;
value = value.joinGuild(a0);
value.then(_fun68140);
}
function _fun68140() { // fn#68140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8825:212, offset: 0x01c40aa5, size: 44 bytes, params: 1, frame: 12
const value = environment.__proto__;
(GuildActionCreators).transitionToGuildSync(env0_0);
}
}
}
global.__d(_fun68138, 8640, [6593, 2]) /* metro module 8640, dependencies: [6593, 2] */;