parent
e44cedf094
commit
2c01883fc0
|
@ -126,6 +126,7 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
|
||||||
type_ = 'jabber'
|
type_ = 'jabber'
|
||||||
if type_ == 'jabber':
|
if type_ == 'jabber':
|
||||||
self.uid_entry.set_text(jid)
|
self.uid_entry.set_text(jid)
|
||||||
|
transport = None
|
||||||
else:
|
else:
|
||||||
uid, transport = app.get_name_and_server_from_jid(jid)
|
uid, transport = app.get_name_and_server_from_jid(jid)
|
||||||
self.uid_entry.set_text(uid.replace('%', '@', 1))
|
self.uid_entry.set_text(uid.replace('%', '@', 1))
|
||||||
|
|
Loading…
Reference in New Issue