decord/source/modules/headless_tasks/android/ToggleSelfMute.tsx

25 lines
777 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 17152
// Function ID: 17153
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-15 05:55:55 +00:00
// Dependencies: [1391, 17148, 7305, 12567, 2]
2026-07-22 07:54:56 +00:00
2026-08-15 05:55:55 +00:00
// Module 17152 (promise)
2026-07-29 08:29:29 +00:00
import ensureGuildLoaded from "ensureGuildLoaded";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("getMuteStates").fileFinishedImporting("modules/headless_tasks/android/ToggleSelfMute.tsx");
2026-07-20 16:05:17 +00:00
export default (channelId) => {
2026-07-23 10:11:24 +00:00
channelId = channelId.channelId;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
outer1_1(outer1_2[1]).awaitStorage(() => {
const channel = outer2_3.getChannel(callback);
const muteStates = channelId(outer2_2[2]).getMuteStates({ channel });
const obj = channelId(outer2_2[2]);
channelId(outer2_2[3]).createMuteHandler(muteStates).onPress();
callback(true);
2026-07-20 16:05:17 +00:00
});
});
};