Mercurial > libervia-backend
comparison src/core/sat_main.py @ 666:2a7185b8452c
core: added SatIdentityHandler for Disco Identity, and set identity to "client/pc/Salut à Toi"
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 05 Nov 2013 22:40:55 +0100 |
parents | 49587e170f53 |
children | 9a50aa7feefb |
comparison
equal
deleted
inserted
replaced
665:6a64e0a759e6 | 666:2a7185b8452c |
---|---|
245 | 245 |
246 current.versionHandler = xmpp.SatVersionHandler(self.get_const('client_name'), | 246 current.versionHandler = xmpp.SatVersionHandler(self.get_const('client_name'), |
247 self.get_const('client_version')) | 247 self.get_const('client_version')) |
248 current.versionHandler.setHandlerParent(current) | 248 current.versionHandler.setHandlerParent(current) |
249 | 249 |
250 current.identityHandler = xmpp.SatIdentityHandler() | |
251 current.identityHandler.setHandlerParent(current) | |
252 | |
250 debug(_("setting plugins parents")) | 253 debug(_("setting plugins parents")) |
251 | 254 |
252 for plugin in self.plugins.iteritems(): | 255 for plugin in self.plugins.iteritems(): |
253 if plugin[1].is_handler: | 256 if plugin[1].is_handler: |
254 plugin[1].getHandler(profile).setHandlerParent(current) | 257 plugin[1].getHandler(profile).setHandlerParent(current) |