diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-11-04 00:56:59 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-11-04 00:56:59 +0000 |
commit | 571f3b42ea66565accb996a42582ee0240676d1f (patch) | |
tree | 0f4b67c8d0a02eecb319cbb4889beba5f2d975fa | |
parent | fix avatar set (diff) | |
download | synapse-571f3b42ea66565accb996a42582ee0240676d1f.tar.xz |
fix typos
-rw-r--r-- | synapse/api/auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index cfe0a2abca..1401e8a2b0 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -516,9 +516,9 @@ class Auth(object): defer.returnValue(user_info) def get_appservice_by_req(self, request): - (user_id, appservice) = self._get_appservice_user_id(request) - request.authenticated_entity = service.sender - return appservice + (user_id, app_service) = self._get_appservice_user_id(request) + request.authenticated_entity = app_service.sender + return app_service def is_server_admin(self, user): """ Check if the given user is a local server admin. |