summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek <jacek.oleksy@gmail.com>2021-01-19 19:48:40 +0100
committerJacek <jacek.oleksy@gmail.com>2021-01-20 17:31:07 +0100
commit1795852d293de3cc3f6131e6fde259ce4c9aa586 (patch)
tree20336d8bb000baf6f83a6d684fefd79304a527b4
parentd068d9bb5ecd05458e2c4fccad0e5ea35d36698d (diff)
Remove "unsupported browser" warning for Opera
Signed-off-by: Jacek <jacek.oleksy@gmail.com>
-rw-r--r--README.md1
-rw-r--r--src/mixins/browserCheck.js7
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9db55263b..ec12d4e29 100644
--- a/README.md
+++ b/README.md
@@ -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() {