From 1fa4a53a48d63013b048767e9c2e511b81115067 Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Fri, 20 Jan 2017 19:54:59 +0200 Subject: [PATCH] Remove rule --- react/features/base/util/componentInterceptor.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/react/features/base/util/componentInterceptor.js b/react/features/base/util/componentInterceptor.js index 4ca94d53f..a3550c4e0 100644 --- a/react/features/base/util/componentInterceptor.js +++ b/react/features/base/util/componentInterceptor.js @@ -1,8 +1,7 @@ import { Platform } from '../react'; import { - MobileBrowserPage, - UnsupportedBrowserPage + MobileBrowserPage } from '../../unsupported-browser'; /** @@ -33,19 +32,6 @@ const RULES = [ if ((OS === 'android' || OS === 'ios') && !mobileBrowserPageIsShown) { return MobileBrowserPage; } - }, - - /** - * This rule describes case when user opens application using web browser - * that doesn't support WebRTC or Temasys plugin should be installed. - * - * @returns {UnsupportedBrowserPage|void} If the rule is satisfied - * then we should intercept existing component by UnsupportedBrowserPage. - */ - () => { - if (true) { - return UnsupportedBrowserPage; - } } ];