/* Metro module 8753; source: modules/applications/ApplicationPresenceUtils.tsx; dependencies: [1379, 2] */ import ChannelStore from '../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun68530(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68530, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8938:6, offset: 0x01c52a19, size: 106 bytes, params: 8, frame: 17 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/applications/ApplicationPresenceUtils.tsx'); exports.shouldDisableUserPresenceInChannel = shouldDisableUserPresenceInChannel; function shouldDisableUserPresenceInChannel(a0, a1) { // fn#68531, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8938:226, offset: 0x01c52a83, size: 90 bytes, params: 3, frame: 14 const env0_0 = a0; const channel = ChannelStore.getChannel(a1); return channel != null && a0.bot && channel.isPrivate() && channel.rawRecipients.find(_fun68532) == null; function _fun68532({id}) { // fn#68532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8938:363, offset: 0x00fc10ae, size: 26 bytes, params: 2, frame: 2 return id === env0_0.id; } } } global.__d(_fun68530, 8753, [1379, 2]) /* metro module 8753, dependencies: [1379, 2] */;