Commit 8ad5dec7 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent 515cbaa2
......@@ -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
......
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