Skip to content

Commit

Permalink
MSC3026: "busy" presence state
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Feb 23, 2021
1 parent e30a717 commit 8fcecdc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions proposals/3026-presence-busy.md
@@ -0,0 +1,28 @@
# `busy` presence state

The current specification for presence in Matrix describes three states:

* `online` if the user is online and active
* `unavailable` (aka idle or away) if the user is online but inactive
* `offline` if the user is offline

There is currently no presence state to express that the user is online and active, but busy, i.e. in a state that would prevent them from giving their full focus to solicitations from other users. A practical example would be a user that's on a call with another user (or on a group call).


## Proposal

A new presence state is added, `busy`, which describes a state where the user is online and active but is performing an activity that would prevent them from giving their full attention to an external solicitation, i.e. the user is online and active but not available.

It is left to the implementation to decide how to update a user's presence to the `busy` state (and from this state to another); suggestions would include allowing the user to set it manually, setting it automatically when the user joins a call or a Jitsi group call, etc.. It is strongly recommended for implementations to not implement a timer that would trigger an update to the `unavailable` state (like most implementations do when the user is in the `online` state), as there are some valid use cases for the user not triggering any event in the client but still being online and active, e.g. if they're on a call.

For backwards compatibility, if a client fails to update a user's presence state to `busy` because the homeserver doesn't implement this MSC (which would likely translate into a `400 Bad Request` response), it should set the user's presence to `unavailable`, which is the closest state semantically.


## Potential issues

It is unclear whether introducing a new presence state will break some clients that don't implement this MSC yet. If this happens, the mitigation is unclear and open to discussion.


## Unstable prefix

Until this proposal is merged into a stable version of the Matrix specification, implementations must use `org.matrix.busy` instead of `busy` as the new presence state.

0 comments on commit 8fcecdc

Please sign in to comment.