oups, fix reference problem
This commit is contained in:
parent
aec02d72db
commit
a0df4ece76
|
@ -2127,10 +2127,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
if resource:
|
if resource:
|
||||||
fjid = jid + '/' + resource
|
fjid = jid + '/' + resource
|
||||||
contact = gajim.contacts.get_contact(account, jid, resource)
|
contact = gajim.contacts.get_contact(account, jid, resource)
|
||||||
if not contact:
|
|
||||||
# Default to highest prio
|
|
||||||
highest_contact = gajim.contacts.get_contact_with_highest_priority(
|
highest_contact = gajim.contacts.get_contact_with_highest_priority(
|
||||||
account, jid)
|
account, jid)
|
||||||
|
if not contact:
|
||||||
|
# Default to highest prio
|
||||||
fjid = jid
|
fjid = jid
|
||||||
resource_for_chat = None
|
resource_for_chat = None
|
||||||
contact = highest_contact
|
contact = highest_contact
|
||||||
|
|
Loading…
Reference in New Issue