From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: chore: normalized all recipes to ensure compatibility with es6 (#639) - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm. --- recipes/msteams/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/msteams/index.js') diff --git a/recipes/msteams/index.js b/recipes/msteams/index.js index 9d4c279..d1bd721 100644 --- a/recipes/msteams/index.js +++ b/recipes/msteams/index.js @@ -1,5 +1,5 @@ -module.exports = Franz => class MicrosoftTeams extends Franz { +module.exports = Ferdi => class MicrosoftTeams extends Ferdi { overrideUserAgent() { - return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, ''); + return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); } }; -- cgit v1.2.3-54-g00ecf