Fix #2554 (traceback on last activity in the roster)
This commit is contained in:
parent
dc46286afb
commit
390bb8e2b4
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class RosterInfoTab(Tab):
|
||||||
elif isinstance(item, Contact):
|
elif isinstance(item, Contact):
|
||||||
jid = item.bare_jid
|
jid = item.bare_jid
|
||||||
elif isinstance(item, Resource):
|
elif isinstance(item, Resource):
|
||||||
jid = item.jid.bare
|
jid = item.jid
|
||||||
else:
|
else:
|
||||||
self.core.information('No JID selected.', 'Error')
|
self.core.information('No JID selected.', 'Error')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue