comparison 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
comparison
equal deleted inserted replaced
415:3348331e0f09 416:32dc8b18c2ae
91 try: 91 try:
92 self.keep_alife.stop() 92 self.keep_alife.stop()
93 except AttributeError: 93 except AttributeError:
94 debug (_("No keep_alife")) 94 debug (_("No keep_alife"))
95 self.host_app.bridge.disconnected(self.profile) #we send the signal to the clients 95 self.host_app.bridge.disconnected(self.profile) #we send the signal to the clients
96 self.host_app.purgeClient(self.profile) #and we remove references to this client
96 97
97 98
98 class SatMessageProtocol(xmppim.MessageProtocol): 99 class SatMessageProtocol(xmppim.MessageProtocol):
99 100
100 def __init__(self, host): 101 def __init__(self, host):