decord/source/utils/native/openChannelCallModalForChannelId.tsx

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 10855
// Function ID: 84027
2026-07-20 16:05:17 +00:00
// Name: openChannelCallModalForChannelId
2026-07-28 08:39:19 +00:00
// Dependencies: [1348, 6689, 4376, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-28 08:39:19 +00:00
// Module 10855 (openChannelCallModalForChannelId)
2026-07-23 10:11:24 +00:00
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-28 08:39:19 +00:00
isGuildStageVoiceResult = false === require(6689) /* connectToStage */.connectToStage(channel);
const obj2 = require(6689) /* connectToStage */;
2026-07-20 16:05:17 +00:00
}
if (!isGuildStageVoiceResult) {
2026-07-28 08:39:19 +00:00
require(4376) /* getVoiceChannelKeyByChannelId */.openChannelCallModal(channel);
const obj3 = require(4376) /* getVoiceChannelKeyByChannelId */;
2026-07-20 16:05:17 +00:00
}
}
};