aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IRequest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-10 10:05:24 +0100
committerJoas Schilling <coding@schilljs.com>2017-02-10 10:10:21 +0100
commit33fb86f68b827692f242107380e4cf3d42f90658 (patch)
tree5fa2bee19237cf832b2be8be2c7c3210192cf123 /lib/public/IRequest.php
parent397feb9e8ddefcb04ac201bc64fa04ac9b41c7ca (diff)
downloadnextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.tar.gz
nextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.zip
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/IRequest.php')
-rw-r--r--lib/public/IRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php
index b36a934b0c2..98d8f5bb83a 100644
--- a/lib/public/IRequest.php
+++ b/lib/public/IRequest.php
@@ -76,7 +76,7 @@ interface IRequest {
/**
* @since 9.1.0
*/
- const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) ownCloud\-iOS.*$/';
+ const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/';
/**
* @param string $name