/* Metro module 15142; source: modules/group_dm/getGroupDMRecipientLimit.tsx; dependencies: [1878, 661, 2] */ import UserStore from '../../stores/UserStore.tsx'; /* Metro dependency 1878 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */ function _fun115460(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#115460, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15339:6, offset: 0x0246155d, size: 138 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/group_dm/getGroupDMRecipientLimit.tsx'); exports.default = function(a0) { var value2 = UserStore.getCurrentUser(); return value2 == null ? a0 == null ? MAX_GROUP_DM_PARTICIPANTS : a0.userLimit > 0 ? a0.userLimit : MAX_GROUP_DM_PARTICIPANTS : value2.isStaff() ? MAX_GROUP_DM_STAFF_PARTICIPANTS : a0 == null ? MAX_GROUP_DM_PARTICIPANTS : a0.userLimit > 0 ? a0.userLimit : MAX_GROUP_DM_PARTICIPANTS; }; } global.__d(_fun115460, 15142, [1878, 661, 2]) /* metro module 15142, dependencies: [1878, 661, 2] */;