Notification level: fall back to the guild's effective default (default_message_notifications / ONLY_MENTIONS for large guilds) #558

Open
opened 2026-11-14 16:09:26 +00:00 by charles · 0 comments
Owner

Follow-up from the review of PR #557 (Task 12, #497).

notif_settings::level falls back to ALL_MESSAGES when neither the channel, its parent nor the guild/@me scope sets a level. The original client uses guild.effectiveMessageNotifications: the guild's default_message_notifications, or ONLY_MENTIONS for large guilds. The native Guild model has no such field, so the spec and plan allow the ALL_MESSAGES fallback for now.

To do:

  1. fluxer-proto: add default_message_notifications (and whatever marks a guild as large) to the guild model, with a fixture (its own protocol task).
  2. fluxer-core: use it as the fallback in notif_settings::level and in the guild settings modal's selected level.

Seen on branch dailyuse-12-core-notification-settings-mutes (commit b9a14eb).

Follow-up from the review of PR #557 (Task 12, #497). `notif_settings::level` falls back to ALL_MESSAGES when neither the channel, its parent nor the guild/`@me` scope sets a level. The original client uses `guild.effectiveMessageNotifications`: the guild's `default_message_notifications`, or ONLY_MENTIONS for large guilds. The native `Guild` model has no such field, so the spec and plan allow the ALL_MESSAGES fallback for now. To do: 1. `fluxer-proto`: add `default_message_notifications` (and whatever marks a guild as large) to the guild model, with a fixture (its own protocol task). 2. `fluxer-core`: use it as the fallback in `notif_settings::level` and in the guild settings modal's selected level. Seen on branch dailyuse-12-core-notification-settings-mutes (commit b9a14eb).
charles added this to the Daily use milestone 2026-11-14 16:09:29 +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#558
No description provided.