summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-03 11:59:57 +0100
committerErik Johnston <erik@matrix.org>2014-09-03 12:01:14 +0100
commitb50ea730b15706d0e2099f94cf8b3cf24b5c5433 (patch)
tree05fb4bb1190f0f2223de49bf17060481a8bfad70 /synapse/handlers/presence.py
parentAdd option to change content repo location (diff)
parentEdited /presence REST servlet to raise SynapseErrors to return a standard err... (diff)
downloadsynapse-b50ea730b15706d0e2099f94cf8b3cf24b5c5433.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into develop
Conflicts:
	synapse/http/server.py
        synapse/http/content_repository.py
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 48549b03e5..beb5aa3a6a 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -207,7 +207,7 @@ class PresenceHandler(BaseHandler):
             raise SynapseError(400, "User is not hosted on this Home Server")
 
         if target_user != auth_user:
-            raise AuthError(400, "Cannot set another user's displayname")
+            raise AuthError(400, "Cannot set another user's presence")
 
         if "status_msg" not in state:
             state["status_msg"] = None