// Module ID: 4841 // Function ID: 4842 // Name: transitionToStream // Dependencies: [1958, 4606, 4842, 4846, 2] // Exports: default // Module 4841 (transitionToStream) import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4606 */; import ModalActionCreatorsDefault from "ModalActionCreators" /* 4842 */; import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4846 */; import ChannelStore from "ChannelStore" /* 1958 */; require = fn; const size = fn(2); const result = size.fileFinishedImporting("modules/go_live/utils/transitionToStream.native.tsx"); export default function transitionToStream(channelId) { const channel = ChannelStore.getChannel(channelId.channelId); if (null != channel) { ActionSheetActionCreatorsDefault.hideActionSheet(); ModalActionCreatorsDefault.popAll(); PrivateChannelCallUtils.openGuildVoiceModal(channel, "Go Live"); } };