diff src/server/server.py @ 718:5745b5e6586a

browser + server sides: actionNew signal handling
author Goffi <goffi@goffi.org>
date Tue, 18 Aug 2015 08:10:02 +0200
parents 3b91225b457a
children 994be887e843
line wrap: on
line diff
--- a/src/server/server.py	Wed Aug 19 16:04:30 2015 +0200
+++ b/src/server/server.py	Tue Aug 18 08:10:02 2015 +0200
@@ -1209,7 +1209,8 @@
             self.bridge.register("disconnected", self.signal_handler.disconnected)
             self.bridge.register("actionResult", self.action_handler.actionResultCb)
             #core
-            for signal_name in ['presenceUpdate', 'newMessage', 'subscribe', 'contactDeleted', 'newContact', 'entityDataUpdated', 'askConfirmation', 'newAlert', 'paramUpdate']:
+            for signal_name in ['presenceUpdate', 'actionNew', 'newMessage', 'subscribe', 'contactDeleted',
+                                'newContact', 'entityDataUpdated', 'askConfirmation', 'newAlert', 'paramUpdate']:
                 self.bridge.register(signal_name, self.signal_handler.getGenericCb(signal_name))
             #plugins
             for signal_name in ['psEvent', 'roomJoined', 'roomUserJoined', 'roomUserLeft', 'tarotGameStarted', 'tarotGameNew', 'tarotGameChooseContrat',