2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 4838
|
|
|
|
|
// Function ID: 4839
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: transitionToStream
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [1957, 4603, 4839, 4843, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 4838 (transitionToStream)
|
|
|
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
|
|
|
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4839 */;
|
|
|
|
|
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4843 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import ChannelStore from "ChannelStore" /* 1957 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/go_live/utils/transitionToStream.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function transitionToStream(channelId) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const channel = ChannelStore.getChannel(channelId.channelId);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != channel) {
|
2026-09-10 05:38:07 +00:00
|
|
|
ActionSheetActionCreatorsDefault.hideActionSheet();
|
|
|
|
|
ModalActionCreatorsDefault.popAll();
|
|
|
|
|
PrivateChannelCallUtils.openGuildVoiceModal(channel, "Go Live");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|