diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-05-31 11:28:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 11:28:54 +0300 |
commit | f855b73aa5045fa3c9dc350240c01a84e32f787e (patch) | |
tree | 78e2844bf289e0601ef4042c8c4fa6aa63c881d2 /apps | |
parent | cf9660fdf055cbc12d7c06f641843f1c3754f797 (diff) | |
parent | 26804ceccb683304bcb6dd2f1f79fa9cac927022 (diff) |
Merge pull request #32583 from jld3103/fix/nextcloud-android-user-agent-match
Fix Nextcloud Android app not showing proper name
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/AuthToken.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/src/components/AuthToken.vue b/apps/settings/src/components/AuthToken.vue index e599be9c671..eb42e763b46 100644 --- a/apps/settings/src/components/AuthToken.vue +++ b/apps/settings/src/components/AuthToken.vue @@ -107,7 +107,7 @@ const userAgentMap = { iphone: / *CPU +iPhone +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */, ipad: /\(iPad; *CPU +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */, iosClient: /^Mozilla\/5\.0 \(iOS\) (?:ownCloud|Nextcloud)-iOS.*$/, - androidClient: /^Mozilla\/5\.0 \(Android\) ownCloud-android.*$/, + androidClient: /^Mozilla\/5\.0 \(Android\) (?:ownCloud|Nextcloud)-android.*$/, iosTalkClient: /^Mozilla\/5\.0 \(iOS\) Nextcloud-Talk.*$/, androidTalkClient: /^Mozilla\/5\.0 \(Android\) Nextcloud-Talk.*$/, // DAVx5/3.3.8-beta2-gplay (2021/01/02; dav4jvm; okhttp/4.9.0) Android/10 |