diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-11-12 13:44:39 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-11-12 13:44:39 +0000 |
commit | 0a93df5f9c4921690fe456ee18bd8d51a7a08744 (patch) | |
tree | fa6d7865bb8cf34e7486c6b28b4fb61e3b6f39dc | |
parent | Merge pull request #363 from matrix-org/daniel/guestscanjoin (diff) | |
download | synapse-0a93df5f9c4921690fe456ee18bd8d51a7a08744.tar.xz |
Allow guests to set their display names
Depends: https://github.com/matrix-org/synapse/pull/363 Tests in https://github.com/matrix-org/sytest/pull/66
-rw-r--r-- | synapse/rest/client/v1/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/profile.py b/synapse/rest/client/v1/profile.py index 6b379e4e5f..3218e47025 100644 --- a/synapse/rest/client/v1/profile.py +++ b/synapse/rest/client/v1/profile.py @@ -37,7 +37,7 @@ class ProfileDisplaynameRestServlet(ClientV1RestServlet): @defer.inlineCallbacks def on_PUT(self, request, user_id): - auth_user, _, _ = yield self.auth.get_user_by_req(request) + auth_user, _, _ = yield self.auth.get_user_by_req(request, allow_guest=True) user = UserID.from_string(user_id) try: |