14 lines
603 B
TypeScript
14 lines
603 B
TypeScript
// Metro module 4394 (f4395).
|
|
import ChannelStore from "../../../stores/ChannelStore";
|
|
import ActionSheetActionCreators from "../../action_sheet/native/ActionSheetActionCreators";
|
|
import ModalActionCreators from "../../../actions/ModalActionCreators";
|
|
import { openGuildVoiceModal } from "../../../utils/native/PrivateChannelCallUtils";
|
|
export default function transitionToStream(a0) {
|
|
const channel = ChannelStore.getChannel(a0.channelId);
|
|
if (channel != null) {
|
|
ActionSheetActionCreators.hideActionSheet();
|
|
ModalActionCreators.popAll();
|
|
openGuildVoiceModal(channel, "Go Live");
|
|
}
|
|
};
|