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

22 lines
1.6 KiB
TypeScript

/* Metro module 11331; source: modules/channel/ChannelInfoActionCreators.tsx; dependencies: [4257, 5093, 694, 2] */
import GatewayConnectionStore from '../gateway/GatewayConnectionStore.tsx'; /* Metro dependency 4257 */
import ChannelStatusStore from './ChannelStatusStore.tsx'; /* Metro dependency 5093 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 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});
(FileImportTrackerModule).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
const channelStatusStoreBinding = ChannelStatusStore;
if (!channelStatusStoreBinding.hasRequestedStatuses(a0)) {
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'FETCH_CHANNEL_INFO', guildId: a0});
GatewayConnectionStore.getSocket().requestChannelInfo(a0, ['status', 'voice_start_time']);
}
}
}
global.__d(_fun86535, 11331, [4257, 5093, 694, 2]) /* metro module 11331, dependencies: [4257, 5093, 694, 2] */;