decord/source/modules/calls/native/getPrivateChannelCall.tsx

100 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 9781
// Function ID: 9782
2026-07-20 16:05:17 +00:00
// Name: getPrivateChannelCall
2026-08-25 06:04:03 +00:00
// Dependencies: [4399, 676, 4615, 8241, 1236, 9296, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 9781 (getPrivateChannelCall)
import closure_2 from "updateVoiceState" /* 4399 */;
2026-08-24 06:08:38 +00:00
import { NOOP_NULL } from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/calls/native/getPrivateChannelCall.tsx");
2026-07-20 16:05:17 +00:00
export default function getPrivateChannelCall(id) {
2026-07-23 10:11:24 +00:00
const _require = id;
2026-07-29 08:29:29 +00:00
let flag = arg1;
2026-07-20 16:05:17 +00:00
if (arg1 === undefined) {
flag = false;
}
2026-07-29 08:29:29 +00:00
let handleStartCall = arg2;
if (arg2 === undefined) {
2026-07-23 10:11:24 +00:00
handleStartCall = _require(flag[2]).handleStartCall;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let handleJoinCall = arg3;
if (arg3 === undefined) {
2026-07-23 10:11:24 +00:00
handleJoinCall = _require(flag[2]).handleJoinCall;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const isInChannelResult = handleStartCall.isInChannel(id.id);
let obj = _require(flag[3]);
2026-07-20 16:05:17 +00:00
if (id.isSystemDM()) {
2026-07-23 10:11:24 +00:00
const C = handleJoinCall;
2026-07-29 08:29:29 +00:00
let tmp9Result = null;
2026-07-20 16:05:17 +00:00
} else if (isInChannelResult) {
if (!flag) {
2026-07-29 08:29:29 +00:00
const string2 = tmp6(tmp7[4]).intl.string;
2026-07-20 16:05:17 +00:00
class C {
constructor() {
2026-07-23 10:11:24 +00:00
obj = closure_0(c1[5]);
return obj.handleDisconnect(closure_0);
2026-07-20 16:05:17 +00:00
}
}
}
class C {
constructor() {
2026-07-23 10:11:24 +00:00
obj = closure_0(c1[5]);
return obj.handleDisconnect(closure_0);
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
tmp9Result = tmp16;
2026-07-20 16:05:17 +00:00
} else if (checkIsCallActiveResult) {
if (flag) {
class C {
constructor() {
2026-07-23 10:11:24 +00:00
return handleJoinCall(closure_0, c1);
2026-07-20 16:05:17 +00:00
}
}
} else {
2026-07-29 08:29:29 +00:00
const intl3 = tmp6(tmp7[4]).intl;
2026-07-20 16:05:17 +00:00
class C {
constructor() {
2026-07-23 10:11:24 +00:00
return handleJoinCall(closure_0, c1);
2026-07-20 16:05:17 +00:00
}
}
}
class C {
constructor() {
2026-07-23 10:11:24 +00:00
return handleJoinCall(closure_0, c1);
2026-07-20 16:05:17 +00:00
}
}
} else {
2026-07-29 08:29:29 +00:00
const intl = tmp6(tmp7[4]).intl;
2026-07-20 16:05:17 +00:00
class C {
constructor() {
2026-07-23 10:11:24 +00:00
return handleStartCall(closure_0, c1);
2026-07-20 16:05:17 +00:00
}
}
if (flag) {
2026-07-29 08:29:29 +00:00
tmp9Result = tmp9(tmp10["7AWk50"]);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
tmp9Result = tmp9(tmp10["EZgS+9"]);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const intl2 = tmp6(tmp7[4]).intl;
const string = intl2.string;
const t = tmp6(tmp7[4]).t;
2026-07-20 16:05:17 +00:00
if (flag) {
2026-07-29 08:29:29 +00:00
let stringResult = string(t.oCqlGG);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
stringResult = string(t.focH1t);
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
obj = { text: tmp9Result, accessibilityHint: null, inCall: null, onPress: null };
if (stringResult == null) {
stringResult = tmp9Result;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[1] = stringResult;
obj[2] = isInChannelResult;
obj[3] = C;
2026-07-20 16:05:17 +00:00
return obj;
};