summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 17:01:53 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 17:01:53 +0000
commite12ec335a58bb7957cb7abfc1c96500bb4fb2627 (patch)
treec8716d0f7e25267e96327315849907c624ae8c9b /synapse/rest/client
parentClose cursor (diff)
downloadsynapse-e12ec335a58bb7957cb7abfc1c96500bb4fb2627.tar.xz
"You are not..."
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/presence.py b/synapse/rest/client/v1/presence.py
index 27ea5f2a43..bbfa1d6ac4 100644
--- a/synapse/rest/client/v1/presence.py
+++ b/synapse/rest/client/v1/presence.py
@@ -41,7 +41,7 @@ class PresenceStatusRestServlet(ClientV1RestServlet):
             )
 
             if not allowed:
-                raise AuthError(403, "You are allowed to see their presence.")
+                raise AuthError(403, "You are not allowed to see their presence.")
 
         state = yield self.handlers.presence_handler.get_state(target_user=user)