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,35 +1,43 @@
/* Metro module 7859; source: modules/activities/utils/useIsPrivateChannelWithEnabledActivities.tsx; dependencies: [1379, 632, 2] */
import ChannelStore from '../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as UseStateFromStoresModule from '../../../external/discord_common/js/packages/flux/useStateFromStores.tsx'; /* Metro dependency 632 */
function _fun62730(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62730, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:6, offset: 0x01b64f7f, size: 125 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/utils/useIsPrivateChannelWithEnabledActivities.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/activities/utils/useIsPrivateChannelWithEnabledActivities.tsx');
exports.default = useIsPrivateChannelWithEnabledActivities;
exports.isPrivateChannelWithEnabledActivities = isPrivateChannelWithEnabledActivities;
}
function useIsPrivateChannelWithEnabledActivities(a0) { // fn#62731, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:219, offset: 0x01b64ffc, size: 93 bytes, params: 2, frame: 15
const env0_0 = a0;
const value2 = undefined;
const channel = (UseStateFromStoresModule).useStateFromStores([ChannelStore],
_fun62732);
const r1 = channel == null ? value2 : channel.isPrivate();
return r1 != null && r1;
function _fun62732() { // fn#62732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:312, offset: 0x01b65059, size: 26 bytes, params: 1, frame: 11
return ChannelStore.getChannel(env0_0);
}
function useIsPrivateChannelWithEnabledActivities(a0) { // fn#62731, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:219, offset: 0x01b64ffc, size: 93 bytes, params: 2, frame: 15
const env0_0 = a0;
const value2 = undefined;
const channel = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([ChannelStore],
_fun62732);
const r1 = channel == null ? value2 : channel.isPrivate();
return r1 != null && r1;
}
function isPrivateChannelWithEnabledActivities(a0) { // fn#62733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:424, offset: 0x01b65073, size: 61 bytes, params: 2, frame: 12
var r1;
if (a0 == null) {
return false;
}
let value = ChannelStore.getChannel(a0);
if (value == null) {
r1 = undefined;
} else {
value = value.isPrivate();
r1 = value;
function isPrivateChannelWithEnabledActivities(a0) { // fn#62733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8037:424, offset: 0x01b65073, size: 61 bytes, params: 2, frame: 12
var r1;
if (a0 == null) {
return false;
}
let value = ChannelStore.getChannel(a0);
if (value == null) {
r1 = undefined;
} else {
value = value.isPrivate();
r1 = value;
}
return r1 != null && r1;
}
return r1 != null && r1;
}
global.__d(_fun62730, 7859, [1379, 632, 2]) /* metro module 7859, dependencies: [1379, 632, 2] */;