// Module ID: 10630 // Function ID: 10631 // Name: ChannelCollapseActionCreators // Dependencies: [5047, 573, 6733, 2] // Module 10630 (ChannelCollapseActionCreators) import DispatcherDefault from "Dispatcher" /* 573 */; import UserGuildSettingsManagerDefault from "UserGuildSettingsManager" /* 6733 */; import UserGuildSettingsStore from "UserGuildSettingsStore" /* 5047 */; const size = fn(2); let result = size.fileFinishedImporting("actions/ChannelCollapseActionCreators.tsx"); export default { update(channelId) { DispatcherDefault.dispatch({ type: "CHANNEL_COLLAPSE", channelId }); }, toggleCollapseGuild(id) { const obj = UserGuildSettingsManagerDefault; const result = obj.saveUserGuildSettings(id, { hide_muted_channels: !UserGuildSettingsStore.isGuildCollapsed(id) }); const obj2 = { hide_muted_channels: !UserGuildSettingsStore.isGuildCollapsed(id) }; DispatcherDefault.dispatch({ type: "GUILD_TOGGLE_COLLAPSE_MUTED", guildId: id }); } };