fix(jitsi_meet_postmessage): The format of the params passed via postis

This commit is contained in:
hristoterezov 2017-01-20 14:25:02 -06:00
parent 40ff25d616
commit 264ee48080

View file

@ -199,7 +199,10 @@ class RemoteControl {
* @param {Object} event the remote control event. * @param {Object} event the remote control event.
*/ */
sendEvent(event) { sendEvent(event) {
this.channel.send({method: REMOTE_CONTROL_EVENT_TYPE, params: event}); this.channel.send({
method: REMOTE_CONTROL_EVENT_TYPE,
params: [event]
});
} }
} }