diff options
author | Jacek <jacek.oleksy@gmail.com> | 2021-01-19 19:48:40 +0100 |
---|---|---|
committer | Jacek <jacek.oleksy@gmail.com> | 2021-01-20 17:31:07 +0100 |
commit | 1795852d293de3cc3f6131e6fde259ce4c9aa586 (patch) | |
tree | 20336d8bb000baf6f83a6d684fefd79304a527b4 | |
parent | d068d9bb5ecd05458e2c4fccad0e5ea35d36698d (diff) |
Remove "unsupported browser" warning for Opera
Signed-off-by: Jacek <jacek.oleksy@gmail.com>
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/mixins/browserCheck.js | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -23,6 +23,7 @@ If you have suggestions or problems, please [open an issue](https://github.com/n |---|---| | Firefox | ✔️ 52 or later | | Chrome/Chromium | ✔️ 49 or later | +| Opera | ✔️ 72 or later | | Edge | ⚠️ Latest versions <br> 🎤 Speakers are not promoted <br> 🏷 Name changes while a call is on-going are not reflected | | Safari | ⚠️ 12 or later <br> ❌ No screensharing support <br> 🖥 Viewing screens of others' work | diff --git a/src/mixins/browserCheck.js b/src/mixins/browserCheck.js index b8bd41bb6..c57b9a57f 100644 --- a/src/mixins/browserCheck.js +++ b/src/mixins/browserCheck.js @@ -48,6 +48,9 @@ const browserCheck = { isChrome() { return this.browser.name === 'Chrome' || this.browser.name === 'Chromium' }, + isOpera() { + return this.browser.name === 'Opera' + }, isSafari() { return this.browser.name === 'Safari' || this.browser.name === 'Mobile Safari' }, @@ -65,6 +68,7 @@ const browserCheck = { isFullySupported() { return (this.isFirefox && this.majorVersion >= 52) || (this.isChrome && this.majorVersion >= 49) + || (this.isOpera && this.majorVersion >= 72) || (this.isSafari && this.majorVersion >= 12) || this.isEdge }, @@ -72,12 +76,13 @@ const browserCheck = { blockCalls() { return (this.isFirefox && this.majorVersion < 52) || (this.isChrome && this.majorVersion < 49) + || (this.isOpera && this.majorVersion < 72) || (this.isSafari && this.majorVersion < 12) || this.isIE }, // Used both in the toast and in the call button tooltip unsupportedWarning() { - return t('spreed', "The browser you're using is not fully supported by Nextcloud Talk. Please use the latest version of Mozilla Firefox, Microsoft Edge, Google Chrome or Apple Safari.") + return t('spreed', "The browser you're using is not fully supported by Nextcloud Talk. Please use the latest version of Mozilla Firefox, Microsoft Edge, Google Chrome, Opera or Apple Safari.") }, // Used in CallButton.vue callButtonTooltipText() { |