fix(presence): Do Not Disturb is real "busy" presence and keeps your status (#283) #424
Merged
jared
merged 1 commits from 2026-10-19 02:44:21 -04:00
fix/dnd-busy-presence into lotus
No Reviewers
Labels
Clear labels
a11y
area: appearance
area: auth-session
area: build-ci
area: calls
area: desktop
area: media
area: messaging
area: mobile
area: moderation
area: navigation
area: notifications
area: settings
area: threads
bug
dependencies
docs
duplicate
enhancement
help wanted
invalid
needs-human-review
performance
planning
priority: critical
priority: high
priority: low
priority: medium
qa
question
research
security
tech-debt
ux
wontfix
Accessibility: keyboard, screen reader, contrast, motion
Client area: appearance
Client area: auth-session
Client area: build-ci
Client area: calls
Client area: desktop
Client area: media
Client area: messaging
Client area: mobile
Client area: moderation
Client area: navigation
Client area: notifications
Client area: settings
Client area: threads
Something is not working
Third-party package versions and advisories
README / LOTUS_* docs wrong or missing
This issue or pull request already exists
New feature
Need some help
Something is wrong
Re-render storms, leaks, heavy work on hot paths
Data loss, security hole, or crash on a main path
Broken feature or serious usability problem
Minor issue or polish
Wrong behaviour in an edge case or notable degradation
Manual QA: shipped, needs a human in a real environment
More information is needed
XSS, unsafe URLs, data leaks, auth/session
Code health, dead code, fragile patterns
Usability or visual inconsistency
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LotusGuild/cinny#424
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #283 (decision 2026-10-19: enable busy presence). Production Synapse is being switched on separately (
experimental_features.msc3026_enabled).Before: Do Not Disturb sent presence
unavailablewith the literal status textdnd. It replaced your status ("🎮 Gaming" → "dnd"), and Element/FluffyChat showed "dnd".Change
org.matrix.msc3026.busy_presence, DND sends presenceorg.matrix.msc3026.busyand keeps your status. Synapse doesn't let/sync'sset_presence=onlineoverride busy, so the sync loop stays online.Presence.Busyshows red with the label "Do Not Disturb" and keeps the real status line (badge, ring, labels). The legacyunavailable+dndis still recognised (isDndPresence), so DND from older Lotus clients still shows correctly.presenceStateFromSetting('dnd')returns busy when supported, so saving, clearing or auto-clearing a status doesn't downgrade DND to "unavailable".setPresencerejects non-spec values ("Bad presence value"), so busy goes throughwritePresence, a direct authedPUT /presence/{user}/status.Verified (local Synapse with
msc3026_enabled):online/"🎮 Gaming"→org.matrix.msc3026.busy/"🎮 Gaming"→online/"🎮 Gaming". Before:online/"dnd"while in DND.Unit tests for
isDndPresence.tscclean · unit tests pass · ESLint clean.🤖 Generated with Claude Code
https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5