// Module ID: 4838 // Function ID: 4839 // Name: transitionToStream // Dependencies: [1957, 4603, 4839, 4843, 2] // Exports: default // Module 4838 (transitionToStream) import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */; import ModalActionCreatorsDefault from "ModalActionCreators" /* 4839 */; import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4843 */; import ChannelStore from "ChannelStore" /* 1957 */; 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"); } };