decord/source/utils/native/openChannelCallModalForChannelId.tsx

30 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-30 10:14:41 +00:00
// Module ID: 10875
// Function ID: 10876
2026-07-20 16:05:17 +00:00
// Name: openChannelCallModalForChannelId
2026-07-30 10:14:41 +00:00
// Dependencies: [1372, 6707, 4399, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-30 10:14:41 +00:00
// Module 10875 (openChannelCallModalForChannelId)
2026-07-29 08:29:29 +00:00
import ensureGuildLoaded from "ensureGuildLoaded";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
const result = require("openChannelCallModal").fileFinishedImporting("utils/native/openChannelCallModalForChannelId.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default function openChannelCallModalForChannelId(arg0, arg1) {
channel = channel.getChannel(arg0);
2026-07-20 16:05:17 +00:00
if (null != channel) {
2026-07-29 08:29:29 +00:00
let isGuildStageVoiceResult = arg1;
if (arg1) {
2026-07-20 16:05:17 +00:00
isGuildStageVoiceResult = channel.isGuildStageVoice();
}
if (isGuildStageVoiceResult) {
2026-07-30 10:14:41 +00:00
isGuildStageVoiceResult = false === require(6707) /* connectToStage */.connectToStage(channel);
const obj2 = require(6707) /* connectToStage */;
2026-07-20 16:05:17 +00:00
}
if (!isGuildStageVoiceResult) {
2026-07-29 08:29:29 +00:00
require(4399) /* openChannelCallModal */.openChannelCallModal(channel);
const obj3 = require(4399) /* openChannelCallModal */;
2026-07-20 16:05:17 +00:00
}
}
};