Fix missing declaration

Fixes #9322
This commit is contained in:
Philipp Hörist 2018-10-19 22:30:35 +02:00
parent 186626ad77
commit 5568b97063
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))