Verified Commit 390bb8e2 authored by mathieui's avatar mathieui
Browse files

Fix #2554 (traceback on last activity in the roster)

parent dc46286a
...@@ -259,7 +259,7 @@ class RosterInfoTab(Tab): ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment