Files
discord-decomp/sources/modules/channel/ChannelInfoActionCreators.tsx
T
2026-07-27 16:20:00 +03:00

18 lines
1.3 KiB
TypeScript

/* Metro module 11331; source: modules/channel/ChannelInfoActionCreators.tsx; dependencies: [4257, 5093, 694, 2] */
function _fun86535(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11517:6, offset: 0x01f970f8, size: 130 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const gatewayConnectionStore = importDefault(4257) /* metro dependency 4257: GatewayConnectionStore */;
const channelStatusStore = importDefault(5093) /* metro dependency 5093: ChannelStatusStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/ChannelInfoActionCreators.tsx');
exports.fetchChannelInfo = fetchChannelInfo;
}
function fetchChannelInfo(a0) { // fn#86536, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11517:214, offset: 0x01f9717a, size: 114 bytes, params: 2, frame: 15
if (!ChannelStatusStore.hasRequestedStatuses(a0)) {
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'FETCH_CHANNEL_INFO', guildId: a0});
GatewayConnectionStore.getSocket().requestChannelInfo(a0, ['status', 'voice_start_time']);
}
}