diff options
author | Will Hunt <will@half-shot.uk> | 2019-07-11 14:39:22 +0100 |
---|---|---|
committer | Will Hunt <will@half-shot.uk> | 2019-07-11 14:39:22 +0100 |
commit | 54546b5df89f8ae8babc8b54cfeadd5a7927cf88 (patch) | |
tree | 991a683f9c811aa06a81ee761ba4bc805fd9cd32 | |
parent | small typo fix (#5655) (diff) | |
download | synapse-54546b5df89f8ae8babc8b54cfeadd5a7927cf88.tar.xz |
Add m.presence capability
-rw-r--r-- | synapse/rest/client/v2_alpha/capabilities.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/capabilities.py b/synapse/rest/client/v2_alpha/capabilities.py index fc7e2f4dd5..e594bfb9bf 100644 --- a/synapse/rest/client/v2_alpha/capabilities.py +++ b/synapse/rest/client/v2_alpha/capabilities.py @@ -56,6 +56,10 @@ class CapabilitiesRestServlet(RestServlet): }, }, "m.change_password": {"enabled": change_password}, + "m.presence": { + "send_enabled": self.config.use_presence, + "receive_enabled": self.config.use_presence + }, } } defer.returnValue((200, response)) |