From 65593c613c6ef5664e20641ada0be10157578e0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <forenjunkie@chello.at>
Date: Sun, 17 Dec 2017 17:34:22 +0100
Subject: [PATCH] Fix undefined var

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

diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py
index 07f280a32f..cc2bc3cc54 100644
--- a/gajim/gui_interface.py
+++ b/gajim/gui_interface.py
@@ -263,7 +263,7 @@ class Interface:
         if account in self.show_vcard_when_connect and obj.show not in (
         'offline', 'error'):
             self.edit_own_details(account)
-            self.show_vcard_when_connect.remove(self.name)
+            self.show_vcard_when_connect.remove(account)
 
     def edit_own_details(self, account):
         jid = app.get_jid_from_account(account)
-- 
GitLab