recognize correctly transport's jid in add contact dialog
This commit is contained in:
parent
59d5f23182
commit
478579cde1
|
@ -497,7 +497,9 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
|
|||
self.protocol_jid_combobox.set_model(liststore)
|
||||
self.xml.signal_autoconnect(self)
|
||||
if jid:
|
||||
type_ = gajim.get_transport_name_from_jid(jid) or 'jabber'
|
||||
type_ = gajim.get_transport_name_from_jid(jid)
|
||||
if not type_:
|
||||
type_ = 'jabber'
|
||||
if type_ == 'jabber':
|
||||
self.uid_entry.set_text(jid)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue