last_selected_contact is None if new selection
is not a contact
This commit is contained in:
parent
ea1cf86dc3
commit
0a7e840756
1 changed files with 1 additions and 0 deletions
|
@ -3222,6 +3222,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
return
|
return
|
||||||
contact_row = model[selected_iter]
|
contact_row = model[selected_iter]
|
||||||
if contact_row[C_TYPE] != 'contact':
|
if contact_row[C_TYPE] != 'contact':
|
||||||
|
self._last_selected_contact = None
|
||||||
return
|
return
|
||||||
jid = contact_row[C_JID].decode('utf-8')
|
jid = contact_row[C_JID].decode('utf-8')
|
||||||
account = contact_row[C_ACCOUNT].decode('utf-8')
|
account = contact_row[C_ACCOUNT].decode('utf-8')
|
||||||
|
|
Loading…
Add table
Reference in a new issue