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): def remove(widget, contact, account):
self.dialog.destroy() self.dialog.destroy()
gajim.connections[account].unsubscribe_agent(contact.jid + '/' \ full_jid = contact.get_full_jid()
+ contact.resource) gajim.connections[account].unsubscribe_agent(full_jid)
# remove transport from treeview # remove transport from treeview
self.remove_contact(contact, account) self.remove_contact(contact, account)
# remove transport's contacts from treeview # remove transport's contacts from treeview