From a58d21710b5be3e2cd4328d68a93d887b6011dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 11 Sep 2019 08:54:47 +0200 Subject: [PATCH] server: Add a missing return in the case of an already logged in server. --- matrix/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix/server.py b/matrix/server.py index 1874b0b..a78cc73 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -790,6 +790,7 @@ class MatrixServer(object): if self.client.logged_in: self.login() + return _, request = self.client.login_info() self.send(request)