diff libervia.tac @ 35:d43d6e4b9dc8

room user joining/leaving
author Goffi <goffi@goffi.org>
date Mon, 16 May 2011 18:19:35 +0200
parents 7684e3ceb12d
children 1d406077b49b
line wrap: on
line diff
--- a/libervia.tac	Mon May 16 03:10:11 2011 +0200
+++ b/libervia.tac	Mon May 16 18:19:35 2011 +0200
@@ -344,7 +344,7 @@
             sys.exit(1)
         self.bridge.register("connected", self.signal_handler.connected)
         self.bridge.register("connectionError", self.signal_handler.connectionError)
-        for signal_name in ['presenceUpdate', 'personalEvent', 'newMessage', 'roomJoined']:
+        for signal_name in ['presenceUpdate', 'personalEvent', 'newMessage', 'roomJoined', 'roomUserJoined', 'roomUserLeft']:
             self.bridge.register(signal_name, self.signal_handler.getGenericCb(signal_name))
         root.putChild('json_signal_api', self.signal_handler)
         root.putChild('json_api', MethodHandler(self))