decord/source/modules/go_live/utils/transitionToStream.native.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

24 lines
906 B
TypeScript

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