diff --git a/react/features/analytics/functions.js b/react/features/analytics/functions.js index cb92447e42..75f68a8665 100644 --- a/react/features/analytics/functions.js +++ b/react/features/analytics/functions.js @@ -8,7 +8,14 @@ import { getJitsiMeetGlobalNS, loadScript } from '../base/util'; const logger = require('jitsi-meet-logger').getLogger(__filename); -export const sendAnalyticsEvent = analytics.sendEvent.bind(analytics); +/** + * Sends an analytics event. + * + * @inheritdoc + */ +export function sendAnalyticsEvent(...args: Array) { + analytics.sendEvent(...args); +} /** * Loads the analytics scripts and inits JitsiMeetJS.analytics by setting