Files
discord-decomp/sources/modules/rpc/helpers/getCurrentVoiceChannel.tsx
T
2026-07-27 16:20:00 +03:00

15 lines
1.1 KiB
TypeScript

/* Metro module 6980; source: modules/rpc/helpers/getCurrentVoiceChannel.tsx; dependencies: [1226, 1379, 4297, 2] */
function _fun55360(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7158:6, offset: 0x013a46d7, size: 136 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rpc/helpers/getCurrentVoiceChannel.tsx');
exports.default = function() {
return ChannelStore.getChannel(VoiceStateStore.getVoiceStateForSession(AuthenticationStore.getId(),
AuthenticationStore.getSessionId())?.channelId);
};
}