changeset 453:5731b038fc7f

plugin radiocol: removed occupants list in radiocolStarted signal
author Goffi <goffi@goffi.org>
date Sun, 22 Jan 2012 19:41:02 +0100
parents fd455b3ca6d4
children 60a9086b35c5
files src/plugins/plugin_misc_radiocol.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_radiocol.py	Sun Jan 22 19:40:04 2012 +0100
+++ b/src/plugins/plugin_misc_radiocol.py	Sun Jan 22 19:41:02 2012 +0100
@@ -65,7 +65,7 @@
         self.radios={}
         host.bridge.addMethod("radiocolLaunch", ".plugin", in_sign='ass', out_sign='', method=self.radiocolLaunch) #args: occupants, profile
         host.bridge.addMethod("radiocolCreate", ".plugin", in_sign='ss', out_sign='', method=self.radiocolCreate) #args: room_jid, profile
-        host.bridge.addSignal("radiocolStarted", ".plugin", signature='ssass') #args: room_jid, referee, occupants, profile
+        host.bridge.addSignal("radiocolStarted", ".plugin", signature='sss') #args: room_jid, referee, profile
         host.trigger.add("MUC user joined", self.userJoinedTrigger)
 
     def createRadiocolElt(self, to_jid, type="normal"):
@@ -169,7 +169,7 @@
         for elt in radio_elt.elements():
             
             if elt.name == 'started': #new game created
-                self.host.bridge.radiocolStarted(room_jid.userhost(), from_jid.full(), [], profile) #FIXME: add occupants list here ?
+                self.host.bridge.radiocolStarted(room_jid.userhost(), from_jid.full(), profile)
             else:
                 error (_('Unmanaged game element: %s') % elt.name)