changeset 344:f19771d2e63b

quickapp: fixed contact removing bug
author Goffi <goffi@goffi.org>
date Sat, 28 May 2011 20:23:41 +0200
parents 6fe6ae70904a
children e6047415868d
files frontends/src/quick_frontend/quick_app.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: