2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 10171
|
|
|
|
|
// Function ID: 78617
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4326, 686, 5076, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 10171
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
let result = require("_isNativeReflectConstruct").fileFinishedImporting("actions/ChannelCollapseActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
update(channelId) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(686);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { type: "CHANNEL_COLLAPSE", channelId };
|
|
|
|
|
obj.dispatch(obj);
|
|
|
|
|
},
|
|
|
|
|
toggleCollapseGuild(id) {
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = importDefault(5076);
|
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-07-23 10:11:24 +00:00
|
|
|
importDefault(686).dispatch(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|