diff 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
line wrap: on
line diff
--- a/src/core/sat_main.py	Tue Nov 05 22:40:46 2013 +0100
+++ b/src/core/sat_main.py	Tue Nov 05 22:40:55 2013 +0100
@@ -247,6 +247,9 @@
                                                             self.get_const('client_version'))
             current.versionHandler.setHandlerParent(current)
 
+            current.identityHandler = xmpp.SatIdentityHandler()
+            current.identityHandler.setHandlerParent(current)
+
             debug(_("setting plugins parents"))
 
             for plugin in self.plugins.iteritems():