|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
import { getName } from '../app'; |
|
|
|
|
import { translateToHTML } from '../base/i18n'; |
|
|
|
|
import { RTCBrowserType } from '../base/lib-jitsi-meet'; |
|
|
|
|
import { browser } from '../base/lib-jitsi-meet'; |
|
|
|
|
import { showWarningNotification } from '../notifications'; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -11,15 +11,15 @@ import { showWarningNotification } from '../notifications'; |
|
|
|
|
* @returns {void} |
|
|
|
|
*/ |
|
|
|
|
export function maybeShowSuboptimalExperienceNotification(dispatch, t) { |
|
|
|
|
if (!RTCBrowserType.isChrome() |
|
|
|
|
&& !RTCBrowserType.isFirefox() |
|
|
|
|
&& !RTCBrowserType.isNWJS() |
|
|
|
|
&& !RTCBrowserType.isElectron() |
|
|
|
|
if (!browser.isChrome() |
|
|
|
|
&& !browser.isFirefox() |
|
|
|
|
&& !browser.isNWJS() |
|
|
|
|
&& !browser.isElectron() |
|
|
|
|
|
|
|
|
|
// Adding react native to the list of recommended browsers is not
|
|
|
|
|
// necessary for now because the function won't be executed at all
|
|
|
|
|
// in this case but I'm adding it for completeness.
|
|
|
|
|
&& !RTCBrowserType.isReactNative() |
|
|
|
|
&& !browser.isReactNative() |
|
|
|
|
) { |
|
|
|
|
dispatch( |
|
|
|
|
showWarningNotification( |
|
|
|
|