Skip to content

Commit

Permalink
fix(jitsi_meet_postmessage): The format of the params passed via postis
Browse files Browse the repository at this point in the history
  • Loading branch information
hristoterezov committed Jan 20, 2017
1 parent 40ff25d commit 264ee48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/remotecontrol/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ class RemoteControl {
* @param {Object} event the remote control event.
*/
sendEvent(event) {
this.channel.send({method: REMOTE_CONTROL_EVENT_TYPE, params: event});
this.channel.send({
method: REMOTE_CONTROL_EVENT_TYPE,
params: [event]
});
}
}

Expand Down

0 comments on commit 264ee48

Please sign in to comment.