diff src/core/xmpp.py @ 416:32dc8b18c2ae

core: param loading/purging on profile connection/disconnection - fixed default value in .*getParam.*
author Goffi <goffi@goffi.org>
date Tue, 01 Nov 2011 22:59:15 +0100
parents adcc41e4d6ea
children e4e9187e3b5b
line wrap: on
line diff
--- a/src/core/xmpp.py	Tue Nov 01 22:55:58 2011 +0100
+++ b/src/core/xmpp.py	Tue Nov 01 22:59:15 2011 +0100
@@ -93,6 +93,7 @@
         except AttributeError:
             debug (_("No keep_alife"))
         self.host_app.bridge.disconnected(self.profile) #we send the signal to the clients
+        self.host_app.purgeClient(self.profile) #and we remove references to this client
 
 
 class SatMessageProtocol(xmppim.MessageProtocol):