diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-29 15:04:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-29 15:04:04 +0100 |
commit | 1132663cc7d2b168b32b0b48f65bbdf161d090f4 (patch) | |
tree | 2266323488cc5775ff13ef2faa2cfee7b1683ec4 /synapse/rest | |
parent | SYN-48: Implement WHOIS rest servlet (diff) | |
download | synapse-1132663cc7d2b168b32b0b48f65bbdf161d090f4.tar.xz |
SYN-48: Fix typo. Get the whois for requested user rather tahan the requester
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin.py b/synapse/rest/admin.py index 97eb1954e0..ed9b484623 100644 --- a/synapse/rest/admin.py +++ b/synapse/rest/admin.py @@ -38,7 +38,7 @@ class WhoisRestServlet(RestServlet): if not target_user.is_mine: raise SynapseError(400, "Can only whois a local user") - ret = yield self.handlers.admin_handler.get_whois(auth_user) + ret = yield self.handlers.admin_handler.get_whois(target_user) defer.returnValue((200, ret)) |