This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,34 +1,44 @@
/* Metro module 10645; source: modules/channel/shouldShowVoiceChannelChangeConfirmation.tsx; dependencies: [4295, 1312, 1226, 1867, 4297, 2] */
import AuthenticationStore from '../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
import UnsyncedUserSettingsStore from '../user_settings/UnsyncedUserSettingsStore.tsx'; /* Metro dependency 1312 */
import GuildStore from '../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
import GameConsoleStore from '../game_console/GameConsoleStore.tsx'; /* Metro dependency 4295 */
import VoiceStateStore from '../../stores/VoiceStateStore.tsx'; /* Metro dependency 4297 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun81893(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10831:6, offset: 0x01ee300f, size: 170 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const gameConsoleStore = importDefault(4295) /* metro dependency 4295: GameConsoleStore */;
const unsyncedUserSettingsStore = importDefault(1312) /* metro dependency 1312: UnsyncedUserSettingsStore */;
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/shouldShowVoiceChannelChangeConfirmation.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/channel/shouldShowVoiceChannelChangeConfirmation.tsx');
exports.shouldShowVoiceChannelChangeConfirmation = shouldShowVoiceChannelChangeConfirmation;
}
function shouldShowVoiceChannelChangeConfirmation(a0) { // fn#81894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10831:283, offset: 0x01ee30b9, size: 204 bytes, params: 2, frame: 16
var value4;
if (!UnsyncedUserSettingsStore.disableVoiceChannelChangeAlert) {
var remoteSessionId = GameConsoleStore.getRemoteSessionId();
var getVoiceStateForSession = VoiceStateStore.getVoiceStateForSession;
var getId = AuthenticationStore.getId;
if (Reflect.apply(getVoiceStateForSession, VoiceStateStore, [Reflect.apply(getId, AuthenticationStore, []),
remoteSessionId]) != null) {
return false;
}
if (VoiceStateStore.isCurrentClientInVoiceChannel()) {
if (VoiceStateStore.isInChannel(a0.id)) {
function shouldShowVoiceChannelChangeConfirmation(a0) { // fn#81894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10831:283, offset: 0x01ee30b9, size: 204 bytes, params: 2, frame: 16
var guildStoreBinding;
var value4;
if (!UnsyncedUserSettingsStore.disableVoiceChannelChangeAlert) {
var remoteSessionId = GameConsoleStore.getRemoteSessionId();
var voiceStateStoreBinding = VoiceStateStore;
var getVoiceStateForSession = voiceStateStoreBinding.getVoiceStateForSession;
var authenticationStoreBinding = AuthenticationStore;
var getId = authenticationStoreBinding.getId;
if (Reflect.apply(getVoiceStateForSession, voiceStateStoreBinding, [Reflect.apply(getId,
authenticationStoreBinding,
[]), remoteSessionId]) != null) {
return false;
}
value4 = GuildStore.getGuild(a0.getGuildId());
return value4?.afkChannelId == null || !VoiceStateStore.isInChannel(value4.afkChannelId);
if (Reflect.apply(VoiceStateStore.isCurrentClientInVoiceChannel, voiceStateStoreBinding, [])) {
voiceStateStoreBinding = VoiceStateStore;
if (voiceStateStoreBinding.isInChannel(a0.id)) {
return false;
}
guildStoreBinding = GuildStore;
value4 = guildStoreBinding.getGuild(a0.getGuildId());
return value4?.afkChannelId == null || !VoiceStateStore.isInChannel(value4.afkChannelId);
}
}
return false;
}
return false;
}
global.__d(_fun81893, 10645, [4295, 1312, 1226, 1867, 4297,
2]) /* metro module 10645, dependencies: [4295, 1312, 1226, 1867, 4297, 2] */;