Quick switcher: Unread section should resolve INHERIT/NULL to the guild default notification level #570

Open
opened 2026-11-14 20:10:04 +00:00 by charles · 0 comments
Owner

Follow-up from the review of PR #568 (Task 19, #505).

unread_in_current_guild in crates/fluxer-core/src/switcher.rs treats a channel or guild level of INHERIT/NULL (and missing guild settings) as ALL_MESSAGES. The original resolves them to the guild's effectiveMessageNotifications (UserGuildSettings.ts:368-374, i.e. default_message_notifications), so a guild defaulting to only-mentions shows an Unread section in Flaxative but not in the original.

Blocked on protocol: fluxer-proto's guild type lacks default_message_notifications. Needs a proto task (field + fixture) first, then the switcher (and any other INHERIT resolution) uses it.

Seen on branch dailyuse-19-core-quick-switcher at 3a8541d.

Follow-up from the review of PR #568 (Task 19, #505). `unread_in_current_guild` in `crates/fluxer-core/src/switcher.rs` treats a channel or guild level of INHERIT/NULL (and missing guild settings) as ALL_MESSAGES. The original resolves them to the guild's `effectiveMessageNotifications` (`UserGuildSettings.ts:368-374`, i.e. `default_message_notifications`), so a guild defaulting to only-mentions shows an Unread section in Flaxative but not in the original. Blocked on protocol: `fluxer-proto`'s guild type lacks `default_message_notifications`. Needs a proto task (field + fixture) first, then the switcher (and any other INHERIT resolution) uses it. Seen on branch dailyuse-19-core-quick-switcher at 3a8541d.
charles added this to the Daily use milestone 2026-11-14 20:10:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#570
No description provided.