Skip to content

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

Fixes JS error in API module

hristoterezovd09021457b53
diff --git a/modules/API/API.js b/modules/API/API.js
index ea5cdb7e70..28236e124b 100644
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -149,7 +149,7 @@ function isEventEnabled (name) {
* @param object data associated with the event
*/
function triggerEvent (name, object) {
- if (this.isEnabled() && isEventEnabled(name)) {
+ if (isEnabled() && isEventEnabled(name)) {
sendMessage({
type: "event",
action: "result",