2026-09-17 08:17:09 +00:00
|
|
|
// Module ID: 14099
|
|
|
|
|
// Function ID: 14100
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isActivityParticipantCurrentUserCurrentSession
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [502, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isActivityParticipantCurrentUserCurrentSession
|
|
|
|
|
|
2026-09-17 08:17:09 +00:00
|
|
|
// Module 14099 (isActivityParticipantCurrentUserCurrentSession)
|
2026-09-10 05:38:07 +00:00
|
|
|
import AuthenticationStore from "AuthenticationStore" /* 502 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/isActivityParticipantCurrentUserCurrentSession.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isActivityParticipantCurrentUserCurrentSession = function isActivityParticipantCurrentUserCurrentSession(userId) {
|
|
|
|
|
let obj = arg1;
|
|
|
|
|
if (arg1 === undefined) {
|
2026-09-10 05:38:07 +00:00
|
|
|
obj = AuthenticationStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
const id = obj.getId();
|
|
|
|
|
let tmp3 = userId.userId === id;
|
|
|
|
|
if (tmp3) {
|
|
|
|
|
tmp3 = null == userId.sessionId || undefined === userId.sessionId || userId.sessionId === tmp2;
|
|
|
|
|
const tmp5 = null == userId.sessionId || undefined === userId.sessionId || userId.sessionId === tmp2;
|
|
|
|
|
}
|
|
|
|
|
return tmp3;
|
|
|
|
|
};
|