don't add / at the end of agent if no resource. Fixes #1813
This commit is contained in:
parent
515cbaa270
commit
8ad5dec778
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue