Fix missing declaration

Fixes #9322
This commit is contained in:
Philipp Hörist 2018-10-19 22:30:35 +02:00
parent e44cedf094
commit 2c01883fc0
1 changed files with 1 additions and 0 deletions

View File

@ -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))