quickapp: fixed contact removing bug

This commit is contained in:
Goffi 2011-05-28 20:23:41 +02:00
commit c618164643

View file

@ -410,8 +410,8 @@ class QuickApp():
if not self.check_profile(profile):
return
target = JID(jid)
self.CM.remove(target)
self.contactList.remove(self.CM.get_full(target))
self.CM.remove(target)
try:
self.profiles[profile]['onlineContact'].remove(target.short)
except KeyError: