2026-10-10 08:08:14 +00:00
|
|
|
// Module ID: 11338
|
|
|
|
|
// Function ID: 11339
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: openChannelCallModalForChannelId
|
2026-10-12 06:59:38 +00:00
|
|
|
// Dependencies: [2065, 7493, 7482, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-10 08:08:14 +00:00
|
|
|
// Module 11338 (openChannelCallModalForChannelId)
|
2026-10-12 06:59:38 +00:00
|
|
|
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 7482 */;
|
|
|
|
|
import StageChannelModalActionCreators from "StageChannelModalActionCreators" /* 7493 */;
|
2026-10-10 08:08:14 +00:00
|
|
|
import ChannelStore from "ChannelStore" /* 2065 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.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) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const channel = ChannelStore.getChannel(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != channel) {
|
2026-10-03 08:58:59 +00:00
|
|
|
let tmp = arg1 && channel.isGuildStageVoice();
|
|
|
|
|
if (tmp) {
|
|
|
|
|
const obj2 = StageChannelModalActionCreators;
|
|
|
|
|
tmp = false === obj2.connectToStage(channel);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-10-03 08:58:59 +00:00
|
|
|
if (!tmp) {
|
|
|
|
|
const obj3 = PrivateChannelCallUtils;
|
|
|
|
|
obj3.openChannelCallModal(channel);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|