diff frontends/src/quick_frontend/quick_app.py @ 344:f19771d2e63b

quickapp: fixed contact removing bug
author Goffi <goffi@goffi.org>
date Sat, 28 May 2011 20:23:41 +0200
parents c1ad04586edf
children ea3e1b82dd79
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Sat May 28 20:21:45 2011 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Sat May 28 20:23:41 2011 +0200
@@ -410,8 +410,8 @@
         if not self.check_profile(profile):
             return
         target = JID(jid)
+        self.contactList.remove(self.CM.get_full(target))
         self.CM.remove(target)
-        self.contactList.remove(self.CM.get_full(target))
         try:
             self.profiles[profile]['onlineContact'].remove(target.short)
         except KeyError: