decord/source/utils/native/openChannelCallModalForChannelId.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

31 lines
1 KiB
TypeScript

// Module ID: 9536
// Function ID: 9537
// Name: openChannelCallModalForChannelId
// Dependencies: [1957, 8393, 4767, 2]
// Exports: default
// Module 9536 (openChannelCallModalForChannelId)
import openChannelCallModal from "openChannelCallModal" /* 4767 */;
import connectToStage from "connectToStage" /* 8393 */;
import closure_2 from "ensureGuildLoaded" /* 1957 */;
require = arg1;
const result = require("set").fileFinishedImporting("utils/native/openChannelCallModalForChannelId.tsx");
export default function openChannelCallModalForChannelId(arg0, arg1) {
channel = channel.getChannel(arg0);
if (null != channel) {
let isGuildStageVoiceResult = arg1;
if (arg1) {
isGuildStageVoiceResult = channel.isGuildStageVoice();
}
if (isGuildStageVoiceResult) {
isGuildStageVoiceResult = false === connectToStage.connectToStage(channel);
const obj2 = connectToStage;
}
if (!isGuildStageVoiceResult) {
openChannelCallModal.openChannelCallModal(channel);
const obj3 = openChannelCallModal;
}
}
};