Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fixes sending logs to callstats.
damencho90451a640caa
diff --git a/react/features/base/logging/middleware.js b/react/features/base/logging/middleware.jsindex 0507f6af7d..ef602ca736 100644--- a/react/features/base/logging/middleware.js+++ b/react/features/base/logging/middleware.js@@ -119,16 +119,19 @@ function _libWillInit({ getState }, next, action) {* specified {@code action}.*/function _setLoggingConfig({ getState }, next, action) {- const oldValue = getState()['features/base/logging'].config;const result = next(action);const newValue = getState()['features/base/logging'].config;- if (oldValue !== newValue) {- _setLogLevels(Logger, newValue);- _setLogLevels(JitsiMeetJS, newValue);+ // TODO Generally, we'll want to _setLogLevels and _initLogging only if the+ // logging config values actually change.+ // XXX Unfortunately, we don't currently have a (nice) way of determining+ // whether _setLogLevels or _initLogging have been invoked so we have to+ // invoke them unconditionally even if none of the values have actually+ // changed.+ _setLogLevels(Logger, newValue);+ _setLogLevels(JitsiMeetJS, newValue);- _initLogging(newValue);- }+ _initLogging(newValue);return result;}