Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,18 @@
/* Metro module 10257; source: modules/activities/utils/getActivityChannelId.tsx; dependencies: [1383, 1379, 4297, 2] */
function _fun79656(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10443:6, offset: 0x01e5d183, size: 144 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = (require(1383) /* metro dependency 1383: ChannelRecord */).isTextChannel;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/utils/getActivityChannelId.tsx');
exports.default = getActivityChannelId;
}
function getActivityChannelId({channelId, userId, activity}) { // fn#79657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10443:233, offset: 0x01e5d213, size: 148 bytes, params: 2, frame: 18
const channel = ChannelStore.getChannel(channelId);
return (activity?.session_id == null ? channelId : channel == null ? VoiceStateStore.getVoiceStateForSession(userId,
activity?.session_id)?.channelId : isTextChannel(channel.type) ? channelId : VoiceStateStore.getVoiceStateForSession(userId,
activity?.session_id)?.channelId) ?? undefined;
}