always remove agent from server list, even if it's our own server. Fixes #1834

This commit is contained in:
Yann Leboulanger 2006-04-10 09:05:55 +00:00
parent aacf9dd950
commit c22929a805
1 changed files with 1 additions and 0 deletions

View File

@ -1092,6 +1092,7 @@ class RosterWindow:
if gajim.config.get_per('accounts', account, 'hostname') == contact.jid:
# We remove the server contact
# remove it from treeview
gajim.connections[account].unsubscribe(contact.jid)
self.remove_contact(contact, account)
gajim.contacts.remove_contact(account, contact)
return