summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorIvan Sein <ivan@struktur.de>2018-11-16 14:47:41 +0100
committerIvan Sein <ivan@struktur.de>2018-11-16 14:47:41 +0100
commitce20cb2d40462932a74d6c9ad02a784bfa8bd5ba (patch)
tree754b6ec3bd0da78bf91ebe7c7832bf485a47c964 /settings
parent749204a1eb92ed2c40e5f52d2753c5d6366f36bd (diff)
downloadnextcloud-server-ce20cb2d40462932a74d6c9ad02a784bfa8bd5ba.tar.gz
nextcloud-server-ce20cb2d40462932a74d6c9ad02a784bfa8bd5ba.zip
Format Nextcloud Talk clients sessions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/authtoken_view.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index 0aa67bad900..500760281d0 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -103,6 +103,8 @@
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.*$/,
+ iosTalkClient: /^Mozilla\/5\.0 \(iOS\) Nextcloud\-Talk.*$/,
+ androidTalkClient:/^Mozilla\/5\.0 \(Android\) Nextcloud\-Talk.*$/,
// DAVdroid/1.2 (2016/07/03; dav4android; okhttp3) Android/6.0.1
davDroid: /DAVdroid\/([0-9.]+)/,
// Mozilla/5.0 (U; Linux; Maemo; Jolla; Sailfish; like Android 4.3) AppleWebKit/538.1 (KHTML, like Gecko) WebPirate/2.0 like Mobile Safari/538.1 (compatible)
@@ -121,6 +123,8 @@
ipad: t('setting', 'iPad iOS'),
iosClient: t('setting', 'iOS Client'),
androidClient: t('setting', 'Android Client'),
+ iosTalkClient: t('setting', 'iOS Client Nextcloud Talk'),
+ androidTalkClient: t('setting', 'Android Client Nextcloud Talk'),
davDroid: 'DAVdroid',
webPirate: 'WebPirate',
sailfishBrowser: 'SailfishBrowser'
@@ -137,6 +141,8 @@
ipad: 'icon-tablet',
iosClient: 'icon-phone',
androidClient: 'icon-phone',
+ iosTalkClient: 'icon-phone',
+ androidTalkClient: 'icon-phone',
davDroid: 'icon-phone',
webPirate: 'icon-link',
sailfishBrowser: 'icon-link'