2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 10318
|
|
|
|
|
// Function ID: 79666
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: resetGuildUnreadFlags
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [662, 1360, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: withChannelUnreadFlags, withGuildUnreadFlags
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 10318 (resetGuildUnreadFlags)
|
2026-07-23 10:11:24 +00:00
|
|
|
import MAX_FAVORITES from "MAX_FAVORITES";
|
|
|
|
|
|
|
|
|
|
let closure_2;
|
|
|
|
|
let closure_3;
|
2026-07-20 16:05:17 +00:00
|
|
|
function resetGuildUnreadFlags(guildFlags) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return importAll(1360).removeFlags(guildFlags, constants.UNREADS_ALL_MESSAGES, constants.UNREADS_ONLY_MENTIONS);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
function resetChannelUnreadFlags(channelIdFlags) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return importAll(1360).removeFlags(channelIdFlags, constants2.UNREADS_ALL_MESSAGES, constants2.UNREADS_ONLY_MENTIONS);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
({ GuildNotificationSettingsFlags: closure_2, ChannelNotificationSettingsFlags: closure_3 } = MAX_FAVORITES);
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/notifications/settings/utils/notificationSettingsFlagUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export { resetGuildUnreadFlags };
|
|
|
|
|
export const withGuildUnreadFlags = function withGuildUnreadFlags(guildFlags, UNREADS_ONLY_MENTIONS) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return importAll(1360).addFlag(resetGuildUnreadFlags(guildFlags), UNREADS_ONLY_MENTIONS);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export { resetChannelUnreadFlags };
|
|
|
|
|
export const withChannelUnreadFlags = function withChannelUnreadFlags(channelIdFlags, UNREADS_ONLY_MENTIONS) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return importAll(1360).addFlag(resetChannelUnreadFlags(channelIdFlags), UNREADS_ONLY_MENTIONS);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|