diff options
author | Gautam Singh <5769869+gautamsi@users.noreply.github.com> | 2020-04-20 01:59:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 20:29:46 +0000 |
commit | ca864ed334debad62a2a358249a84438ea87d633 (patch) | |
tree | 0ccf80824b2d1fe8cbc2508f28c372073e484901 /uncompressed/msteams/index.js | |
parent | Merge pull request #115 from getferdi/fix/user-agents (diff) | |
download | ferdium-recipes-ca864ed334debad62a2a358249a84438ea87d633.tar.gz ferdium-recipes-ca864ed334debad62a2a358249a84438ea87d633.tar.zst ferdium-recipes-ca864ed334debad62a2a358249a84438ea87d633.zip |
Update Microsoft Teams to allow Desktop Sharing (#116)
Diffstat (limited to 'uncompressed/msteams/index.js')
-rw-r--r-- | uncompressed/msteams/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uncompressed/msteams/index.js b/uncompressed/msteams/index.js index b85bf33..918b7b3 100644 --- a/uncompressed/msteams/index.js +++ b/uncompressed/msteams/index.js | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | module.exports = Franz => class MicrosoftTeams extends Franz { | 3 | module.exports = Franz => class MicrosoftTeams extends Franz { |
4 | overrideUserAgent() { | 4 | overrideUserAgent() { |
5 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').replace(/(Chrome\/)([^ ]*)/g, '$163.0.3239.84'); | 5 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, ''); |
6 | } | 6 | } |
7 | |||
8 | }; \ No newline at end of file | 7 | }; \ No newline at end of file |