21 lines
1.5 KiB
TypeScript
21 lines
1.5 KiB
TypeScript
/* Metro module 15839; source: modules/urgent_system_dm/navigateToSystemDM.tsx; dependencies: [1379, 15838, 4796, 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 ConstantsModule from './Constants.tsx'; /* Metro dependency 15838 */
|
|
|
|
function _fun121777(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121777, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16047:6, offset: 0x02551060, size: 136 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/urgent_system_dm/navigateToSystemDM.tsx');
|
|
exports.default = navigateToSystemDM;
|
|
function navigateToSystemDM() { // fn#121778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16047:219, offset: 0x025510e8, size: 65 bytes, params: 1, frame: 12
|
|
const dMFromUserId = ChannelStore.getDMFromUserId(SYSTEM_USER);
|
|
if (dMFromUserId != null) {
|
|
(importDefault(4796) /* metro dependency 4796: SelectedChannelActionCreators */).selectPrivateChannel(dMFromUserId);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun121777, 15839, [1379, 15838, 4796, 2]) /* metro module 15839, dependencies: [1379, 15838, 4796, 2] */;
|