Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(postmessagebackend): JS error when response is sent.

hristoterezov382b328262c6
diff --git a/modules/transport/PostMessageTransportBackend.js b/modules/transport/PostMessageTransportBackend.js
index d0a72d0a0f..bd158ca4b6 100644
--- a/modules/transport/PostMessageTransportBackend.js
+++ b/modules/transport/PostMessageTransportBackend.js
@@ -158,7 +158,7 @@ export default class PostMessageTransportBackend {
// Transport class. That's why we are passing only the original
// object passed by the consumer of the Transport class which is
// message.data.
- this._sendLegacyMessage(message.data);
+ this._sendLegacyMessage(message.data || {});
}
}