2026-09-11 10:30:06 +00:00
|
|
|
// Module ID: 4809
|
|
|
|
|
// Function ID: 4810
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: transitionToStream
|
2026-09-11 10:30:06 +00:00
|
|
|
// Dependencies: [1957, 4574, 4810, 4814, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-11 10:30:06 +00:00
|
|
|
// Module 4809 (transitionToStream)
|
|
|
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4574 */;
|
|
|
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4810 */;
|
|
|
|
|
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4814 */;
|
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
|
|
|
}
|
|
|
|
|
};
|