aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/msteams/index.js
diff options
context:
space:
mode:
authorLibravatar Gautam Singh <5769869+gautamsi@users.noreply.github.com>2020-04-20 01:59:46 +0530
committerLibravatar GitHub <noreply@github.com>2020-04-19 20:29:46 +0000
commitca864ed334debad62a2a358249a84438ea87d633 (patch)
tree0ccf80824b2d1fe8cbc2508f28c372073e484901 /uncompressed/msteams/index.js
parentMerge pull request #115 from getferdi/fix/user-agents (diff)
downloadferdium-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.js3
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
3module.exports = Franz => class MicrosoftTeams extends Franz { 3module.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