diff options
author | Travis Ralston <travpc@gmail.com> | 2017-11-13 12:44:21 -0700 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2017-11-13 12:44:21 -0700 |
commit | 812c1919392c8ae8aa93969fb0679bd03d73da05 (patch) | |
tree | fb30999327fe4c41f105134655acf5c2d1149add /synapse | |
parent | Add a route for determining who you are (diff) | |
download | synapse-812c1919392c8ae8aa93969fb0679bd03d73da05.tar.xz |
Remove redundent call
Signed-off-by: Travis Ralston <travpc@gmail.com>
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index 0efbcb10d7..726e0a2826 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -391,8 +391,6 @@ class WhoamiRestServlet(RestServlet): @defer.inlineCallbacks def on_GET(self, request): - yield run_on_reactor() - requester = yield self.auth.get_user_by_req(request) defer.returnValue((200, {'user_id': requester.user.to_string()})) |