From ba44f98d9715d2162d3fea558af16767f31012c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <philipp@hoerist.com>
Date: Wed, 3 Oct 2018 08:07:29 +0200
Subject: [PATCH] Fix the fix

---
 gajim/common/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gajim/common/connection.py b/gajim/common/connection.py
index ecf4ae7e13..e57c90e3c1 100644
--- a/gajim/common/connection.py
+++ b/gajim/common/connection.py
@@ -647,7 +647,7 @@ class Connection(CommonConnection, ConnectionHandlers):
         if self.old_show:
             self.connected = app.SHOW_LIST.index(self.old_show)
             app.nec.push_incoming_event(OurShowEvent(
-                None, conn=self, show=app.SHOW_LIST[self.old_show]))
+                None, conn=self, show=self.old_show))
         else: # we default to online
             self.connected = 2
             app.nec.push_incoming_event(OurShowEvent(
-- 
GitLab