diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-03 11:59:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-03 12:01:14 +0100 |
commit | b50ea730b15706d0e2099f94cf8b3cf24b5c5433 (patch) | |
tree | 05fb4bb1190f0f2223de49bf17060481a8bfad70 /synapse/handlers/presence.py | |
parent | Add option to change content repo location (diff) | |
parent | Edited /presence REST servlet to raise SynapseErrors to return a standard err... (diff) | |
download | synapse-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.py | 2 |
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 |