decord/source/utils/native/openChannelCallModalForChannelId.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

31 lines
1 KiB
TypeScript

// Module ID: 9541
// Function ID: 9542
// Name: openChannelCallModalForChannelId
// Dependencies: [1957, 8393, 4767, 2]
// Exports: default
// Module 9541 (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;
}
}
};