30 lines
1.5 KiB
TypeScript
30 lines
1.5 KiB
TypeScript
/* Metro module 12711; source: modules/activities/isActivityParticipantCurrentUserCurrentSession.tsx; dependencies: [1226, 2] */
|
|
import AuthenticationStore from '../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun97367(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97367, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12901:6, offset: 0x0217dfa0, size: 106 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/activities/isActivityParticipantCurrentUserCurrentSession.tsx');
|
|
exports.isActivityParticipantCurrentUserCurrentSession = function(a0) {
|
|
var r3;
|
|
var r1;
|
|
var r0;
|
|
var value = a1;
|
|
r3 = value !== undefined ? value : AuthenticationStore;
|
|
value = r3.getId();
|
|
var value2 = r3.getSessionId();
|
|
value = a0.userId === value;
|
|
if (value) {
|
|
r1 = a0.sessionId == null || a0.sessionId === undefined;
|
|
r1 = !r1 ? a0.sessionId === value2 : r1;
|
|
r0 = r1;
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
};
|
|
}
|
|
|
|
global.__d(_fun97367, 12711, [1226, 2]) /* metro module 12711, dependencies: [1226, 2] */;
|