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

This commit is contained in:
mathieui 2014-07-06 00:05:42 +02:00
parent dc46286afb
commit 390bb8e2b4
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -259,7 +259,7 @@ class RosterInfoTab(Tab):
elif isinstance(item, Contact):
jid = item.bare_jid
elif isinstance(item, Resource):
jid = item.jid.bare
jid = item.jid
else:
self.core.information('No JID selected.', 'Error')
return