0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 23:33:48 +01:00

Remove redundent call

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-11-13 12:44:21 -07:00
parent 2d314b771f
commit 812c191939

View file

@ -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()}))