2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 12314
|
|
|
|
|
// Function ID: 95944
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isMostRecentDeadEndInvite
|
2026-07-27 11:26:19 +00:00
|
|
|
// Dependencies: [653, 10884, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isMostRecentDeadEndInvite
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 12314 (isMostRecentDeadEndInvite)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { ActivityActionTypes } from "ME";
|
|
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/utils/isMostRecentDeadEndInvite.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isMostRecentDeadEndInvite = function isMostRecentDeadEndInvite(id, applicationFromMessage, id2, arg3) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = id2;
|
|
|
|
|
let closure_1 = arg3;
|
2026-07-20 16:05:17 +00:00
|
|
|
return !applicationFromMessage.hasAnyAfter(id, (activity) => {
|
|
|
|
|
let tmp = null != activity.activity;
|
|
|
|
|
if (tmp) {
|
|
|
|
|
const application = activity.application;
|
|
|
|
|
let id;
|
|
|
|
|
if (null != application) {
|
|
|
|
|
id = application.id;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp = id === id2;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (tmp) {
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp = activity.activity.type === outer1_2.JOIN;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (tmp) {
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp = !id2(table[1])(table, activity, id2);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}, 25);
|
|
|
|
|
};
|