2026-09-03 10:05:34 +00:00
|
|
|
// Module ID: 10926
|
|
|
|
|
// Function ID: 10927
|
|
|
|
|
// Dependencies: [4702, 706, 5493, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-03 10:05:34 +00:00
|
|
|
// Module 10926
|
2026-09-02 09:53:35 +00:00
|
|
|
import dispatcherDefault from "dispatcher" /* 706 */;
|
2026-09-03 10:05:34 +00:00
|
|
|
import handleConnectionOpenDefault from "handleConnectionOpen" /* 5493 */;
|
|
|
|
|
import closure_2 from "updateUserGuildSettingsInternal" /* 4702 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
let result = require("set").fileFinishedImporting("actions/ChannelCollapseActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
update(channelId) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = dispatcherDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { type: "CHANNEL_COLLAPSE", channelId };
|
|
|
|
|
obj.dispatch(obj);
|
|
|
|
|
},
|
|
|
|
|
toggleCollapseGuild(id) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = handleConnectionOpenDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { hide_muted_channels: !guildCollapsed.isGuildCollapsed(id) };
|
|
|
|
|
const result = obj.saveUserGuildSettings(id, obj);
|
|
|
|
|
obj = { type: "GUILD_TOGGLE_COLLAPSE_MUTED", guildId: id };
|
2026-08-24 06:08:38 +00:00
|
|
|
dispatcherDefault.dispatch(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|