diff frontends/quick_frontend/quick_app.py @ 13:bd9e9997d540

wokkel integration (not finished yet)
author Goffi <goffi@goffi.org>
date Fri, 30 Oct 2009 17:38:27 +0100
parents c4bc297b82f0
children 6928e3cb73a8
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py	Wed Oct 28 00:39:29 2009 +0100
+++ b/frontends/quick_frontend/quick_app.py	Fri Oct 30 17:38:27 2009 +0100
@@ -25,7 +25,6 @@
 from quick_frontend.quick_contact_management import QuickContactManagement
 
 
-
 class QuickApp():
     """This class contain the main methods needed for the frontend"""
 
@@ -126,8 +125,8 @@
             self.contactList.replace(jid, show=show, status=status, name=name, group=group)
 
 
-        if type=="unavailable" and jid.short in self.onlineContact:
-            self.onlineContact.remove(jid.short)
+        if type=="unavailable" and jid in self.onlineContact:
+            self.onlineContact.remove(jid)
             self.CM.remove(jid)
             self.contactList.remove(jid)