summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-03-18 16:34:47 +0100
committerBrendan Abolivier <babolivier@matrix.org>2021-03-18 16:34:47 +0100
commit405aeb0b2c40443d22ce8c265df18e81bd995b44 (patch)
tree34dc1487f416df1a73d1e0d25be0a703dfa0ae96 /synapse/api
parentEnsure we use a copy of the event content dict before modifying it in seriali... (diff)
downloadsynapse-405aeb0b2c40443d22ce8c265df18e81bd995b44.tar.xz
Implement MSC3026: busy presence state
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 691f8f9adf..cc8541bc16 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -51,6 +51,7 @@ class PresenceState:
     OFFLINE = "offline"
     UNAVAILABLE = "unavailable"
     ONLINE = "online"
+    BUSY = "org.matrix.msc3026.busy"
 
 
 class JoinRules: