don't add / at the end of agent if no resource. Fixes #1813

This commit is contained in:
Yann Leboulanger 2006-04-06 15:46:57 +00:00
parent 515cbaa270
commit 8ad5dec778
1 changed files with 2 additions and 2 deletions

View File

@ -1065,8 +1065,8 @@ class RosterWindow:
def remove(widget, contact, account):
self.dialog.destroy()
gajim.connections[account].unsubscribe_agent(contact.jid + '/' \
+ contact.resource)
full_jid = contact.get_full_jid()
gajim.connections[account].unsubscribe_agent(full_jid)
# remove transport from treeview
self.remove_contact(contact, account)
# remove transport's contacts from treeview