decord/source/actions/ChannelCollapseActionCreators.tsx
2026-07-24 07:16:23 +00:00

23 lines
736 B
TypeScript

// Module ID: 10237
// Function ID: 78977
// Dependencies: [4325, 686, 5075, 2]
// Module 10237
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
let result = require("_isNativeReflectConstruct").fileFinishedImporting("actions/ChannelCollapseActionCreators.tsx");
export default {
update(channelId) {
let obj = importDefault(686);
obj = { type: "CHANNEL_COLLAPSE", channelId };
obj.dispatch(obj);
},
toggleCollapseGuild(id) {
let obj = importDefault(5075);
obj = { hide_muted_channels: !guildCollapsed.isGuildCollapsed(id) };
const result = obj.saveUserGuildSettings(id, obj);
obj = { type: "GUILD_TOGGLE_COLLAPSE_MUTED", guildId: id };
importDefault(686).dispatch(obj);
}
};