Files
discord-decomp/sources/modules/changelog/utils/isChangelogChannel.tsx
T
2026-07-27 16:20:00 +03:00

15 lines
1.1 KiB
TypeScript

/* Metro module 8876; source: modules/changelog/utils/isChangelogChannel.tsx; dependencies: [1379, 1933, 2] */
function _fun69182(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69182, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9061:6, offset: 0x01c6c517, size: 128 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const env0_1 = (require(1933) /* metro dependency 1933: ChangelogConstants */).SYSTEM_UPDATES_USER_ID;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/changelog/utils/isChangelogChannel.tsx');
exports.default = isChangelogChannel;
}
function isChangelogChannel(a0) { // fn#69183, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9061:229, offset: 0x01c6c597, size: 40 bytes, params: 2, frame: 13
return a0 != null && a0 === ChannelStore.getDMFromUserId(SYSTEM_UPDATES_USER_ID);
}