decord/source/utils/native/openChannelCallModalForChannelId.tsx

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 10815
// Function ID: 83967
2026-07-20 16:05:17 +00:00
// Name: openChannelCallModalForChannelId
2026-07-23 10:11:24 +00:00
// Dependencies: [1348, 7477, 4341, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 10815 (openChannelCallModalForChannelId)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
const result = require("getVoiceChannelKeyByChannelId").fileFinishedImporting("utils/native/openChannelCallModalForChannelId.tsx");
2026-07-20 16:05:17 +00:00
export default function openChannelCallModalForChannelId(channelId) {
let isGuildStageVoiceResult = arg1;
2026-07-23 10:11:24 +00:00
channel = channel.getChannel(channelId);
2026-07-20 16:05:17 +00:00
if (null != channel) {
if (isGuildStageVoiceResult) {
isGuildStageVoiceResult = channel.isGuildStageVoice();
}
if (isGuildStageVoiceResult) {
2026-07-23 10:11:24 +00:00
isGuildStageVoiceResult = false === require(7477) /* connectToStage */.connectToStage(channel);
const obj2 = require(7477) /* connectToStage */;
2026-07-20 16:05:17 +00:00
}
if (!isGuildStageVoiceResult) {
2026-07-23 10:11:24 +00:00
require(4341) /* getVoiceChannelKeyByChannelId */.openChannelCallModal(channel);
const obj3 = require(4341) /* getVoiceChannelKeyByChannelId */;
2026-07-20 16:05:17 +00:00
}
}
};