summaryrefslogtreecommitdiff
path: root/synapse/rest/client/v2_alpha/sync.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-02-20 11:13:34 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-02-20 11:13:34 +0100
commit913c94b4a7530f4a2391afc8e45299f5a84f00ea (patch)
tree93d140864a106c2ca54d80ff4c38a3e92bf35973 /synapse/rest/client/v2_alpha/sync.py
parent6a01a86997fad8e645c8e7d3bd4469abb68cde7b (diff)
New upstream version 0.99.1.1
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index 02511467..39d157a4 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -75,7 +75,7 @@ class SyncRestServlet(RestServlet):
"""
PATTERNS = client_v2_patterns("/sync$")
- ALLOWED_PRESENCE = set(["online", "offline"])
+ ALLOWED_PRESENCE = set(["online", "offline", "unavailable"])
def __init__(self, hs):
super(SyncRestServlet, self).__init__()