From 361ded2ea5e9a3931ff3b846f995df97d340a8a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= <poljar@termina.org.uk>
Date: Thu, 1 Feb 2018 13:20:27 +0100
Subject: [PATCH] Always login on a connect.

---
 main.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main.py b/main.py
index dcaeaf8..d78076b 100644
--- a/main.py
+++ b/main.py
@@ -298,8 +298,7 @@ def finalize_connection(server):
     server.connecting = False
     server.reconnect_count = 0
 
-    if not server.access_token:
-        matrix_login(server)
+    matrix_login(server)
 
 
 @utf8_decode