Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
24 lines
906 B
TypeScript
24 lines
906 B
TypeScript
// Module ID: 4809
|
|
// Function ID: 4810
|
|
// Name: transitionToStream
|
|
// Dependencies: [1957, 4574, 4810, 4814, 2]
|
|
// Exports: default
|
|
|
|
// Module 4809 (transitionToStream)
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4574 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4810 */;
|
|
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4814 */;
|
|
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");
|
|
}
|
|
};
|