2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 8874
|
|
|
|
|
// Function ID: 69870
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getPrivateChannelCall
|
2026-07-24 07:16:23 +00:00
|
|
|
// Dependencies: [4146, 653, 4341, 7757, 1212, 8875, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 8874 (getPrivateChannelCall)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import { NOOP_NULL } from "ME";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("getVoiceChannelKeyByChannelId").fileFinishedImporting("modules/calls/native/getPrivateChannelCall.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getPrivateChannelCall(id) {
|
|
|
|
|
let flag = arg1;
|
|
|
|
|
let handleStartCall = arg2;
|
|
|
|
|
let handleJoinCall = arg3;
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = id;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (arg1 === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
if (handleStartCall === undefined) {
|
2026-07-23 10:11:24 +00:00
|
|
|
handleStartCall = _require(flag[2]).handleStartCall;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (handleJoinCall === 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-20 16:05:17 +00:00
|
|
|
let stringResult2 = null;
|
|
|
|
|
} else if (isInChannelResult) {
|
|
|
|
|
let stringResult = null;
|
|
|
|
|
if (!flag) {
|
|
|
|
|
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-23 10:11:24 +00:00
|
|
|
const intl4 = _require(flag[4]).intl;
|
|
|
|
|
stringResult = intl4.string(_require(flag[4]).t["4ry6yi"]);
|
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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stringResult2 = stringResult;
|
|
|
|
|
} 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 {
|
|
|
|
|
class C {
|
|
|
|
|
constructor() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return handleJoinCall(closure_0, c1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl3 = _require(flag[4]).intl;
|
|
|
|
|
intl3.string(_require(flag[4]).t.fdEeb5);
|
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 {
|
|
|
|
|
class C {
|
|
|
|
|
constructor() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return handleStartCall(closure_0, c1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = _require(flag[4]).intl;
|
2026-07-20 16:05:17 +00:00
|
|
|
const string = intl.string;
|
2026-07-23 10:11:24 +00:00
|
|
|
const t = _require(flag[4]).t;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (flag) {
|
2026-07-23 10:11:24 +00:00
|
|
|
stringResult2 = string(t["7AWk50"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
stringResult2 = string(t["EZgS+9"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl2 = _require(flag[4]).intl;
|
2026-07-20 16:05:17 +00:00
|
|
|
const string2 = intl2.string;
|
2026-07-23 10:11:24 +00:00
|
|
|
const t2 = _require(flag[4]).t;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (flag) {
|
|
|
|
|
let string2Result = string2(t2.oCqlGG);
|
|
|
|
|
} else {
|
|
|
|
|
string2Result = string2(t2.focH1t);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
obj = { text: stringResult2 };
|
|
|
|
|
if (null != string2Result) {
|
|
|
|
|
stringResult2 = string2Result;
|
|
|
|
|
}
|
|
|
|
|
obj.accessibilityHint = stringResult2;
|
|
|
|
|
obj.inCall = isInChannelResult;
|
|
|
|
|
obj.onPress = C;
|
|
|
|
|
return obj;
|
|
|
|
|
};
|