ref(iframe_API): Changing the format of the outgoing messages for API.js
This commit is contained in:
Vendored
+1
-1
@@ -234,7 +234,7 @@ class JitsiMeetExternalAPI extends EventEmitter {
|
||||
*/
|
||||
_setupListeners() {
|
||||
|
||||
this._transport.on('event', ({ data, name }) => {
|
||||
this._transport.on('event', ({ name, ...data }) => {
|
||||
if (name === 'participant-joined') {
|
||||
changeParticipantNumber(this, 1);
|
||||
} else if (name === 'participant-left') {
|
||||
|
||||
Reference in New Issue
Block a user