| 724 | | contact = gajim.contacts.create_contact(jid = jid, name = jid, |
|---|
| 725 | | groups = [_('Transports')], show = 'offline', |
|---|
| 726 | | status = 'offline', sub = 'from') |
|---|
| 727 | | gajim.contacts.add_contact(account, contact) |
|---|
| 728 | | self.add_contact(transport, account) |
|---|
| | 725 | contact = gajim.contacts.get_contact_with_highest_priority(account, jid) |
|---|
| | 726 | if contact is None: |
|---|
| | 727 | contact = gajim.contacts.create_contact(jid = jid, name = jid, |
|---|
| | 728 | groups = [_('Transports')], show = 'offline', |
|---|
| | 729 | status = 'offline', sub = 'from') |
|---|
| | 730 | gajim.contacts.add_contact(account, contact) |
|---|
| | 731 | self.add_contact(jid, account) |
|---|