// Module ID: 17972 // Function ID: 17973 // Name: ToggleSelfMute // Dependencies: [1957, 17968, 7359, 10035, 2] // Module 17972 (ToggleSelfMute) import useMuteStates from "useMuteStates" /* 7359 */; import VoiceActionUtils from "VoiceActionUtils" /* 10035 */; import HeadlessTaskUtilsDefault from "HeadlessTaskUtils" /* 17968 */; import ChannelStore from "ChannelStore" /* 1957 */; require = fn; const size = fn(2); const result = size.fileFinishedImporting("modules/headless_tasks/android/ToggleSelfMute.tsx"); export default (channelId) => { channelId = channelId.channelId; return new Promise((arg0) => { closure_0 = arg0; HeadlessTaskUtilsDefault.awaitStorage(() => { const channel = ChannelStore.getChannel(channelId); const muteStates = useMuteStates.getMuteStates({ channel }); VoiceActionUtils.createMuteHandler(muteStates).onPress(); closure_0(true); }); }); };