2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 17278
|
|
|
|
|
// Function ID: 17279
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: promise
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [1391, 17274, 6069, 10957, 2]
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 17278 (promise)
|
2026-08-24 06:08:38 +00:00
|
|
|
import closure_3 from "ensureGuildLoaded" /* 1391 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").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-08-24 06:08:38 +00:00
|
|
|
closure_0 = arg0;
|
|
|
|
|
closure_1_1(closure_1_2[1]).awaitStorage(() => {
|
|
|
|
|
const channel = closure_2_3.getChannel(callback);
|
|
|
|
|
const muteStates = channelId(closure_2_2[2]).getMuteStates({ channel });
|
|
|
|
|
const obj = channelId(closure_2_2[2]);
|
|
|
|
|
channelId(closure_2_2[3]).createMuteHandler(muteStates).onPress();
|
2026-07-23 10:11:24 +00:00
|
|
|
callback(true);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
};
|