diff options
-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)) |