From 5568b970635ec7e5b01d7fba8897ab77b30e8383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 19 Oct 2018 22:30:35 +0200 Subject: [PATCH] Fix missing declaration Fixes #9322 --- gajim/gtk/add_contact.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gajim/gtk/add_contact.py b/gajim/gtk/add_contact.py index 6788915e1..5928b2a4a 100644 --- a/gajim/gtk/add_contact.py +++ b/gajim/gtk/add_contact.py @@ -126,6 +126,7 @@ class AddNewContactWindow(Gtk.ApplicationWindow): type_ = 'jabber' if type_ == 'jabber': self.uid_entry.set_text(jid) + transport = None else: uid, transport = app.get_name_and_server_from_jid(jid) self.uid_entry.set_text(uid.replace('%', '@', 1))