diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-10-30 17:57:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 17:57:28 +0100 |
commit | 73aef992c6840e94a4c286ef6bb47bece7a68a6b (patch) | |
tree | d3817a763c3962cdc66a371d697d60fd1d2fe7aa /lib | |
parent | 062aadba0612fe5eca98d88fd2313a6786e0c814 (diff) | |
parent | 2b425960b84f79fcb377273b469f7b83f8cc727f (diff) | |
download | nextcloud-server-73aef992c6840e94a4c286ef6bb47bece7a68a6b.tar.gz nextcloud-server-73aef992c6840e94a4c286ef6bb47bece7a68a6b.zip |
Merge pull request #6932 from nextcloud/constants-for-talk-useragents
Define constants for the talk user agents
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/IRequest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index 98d8f5bb83a..262b595acc7 100644 --- a/lib/public/IRequest.php +++ b/lib/public/IRequest.php @@ -69,6 +69,11 @@ interface IRequest { const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/'; /** + * @since 13.0.0 + */ + const USER_AGENT_TALK_ANDROID = '/^Mozilla\/5\.0 \(Android\) Nextcloud\-Talk v.*$/'; + + /** * @since 9.1.0 */ const USER_AGENT_CLIENT_DESKTOP = '/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/.*$/'; @@ -79,6 +84,11 @@ interface IRequest { const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/'; /** + * @since 13.0.0 + */ + const USER_AGENT_TALK_IOS = '/^Mozilla\/5\.0 \(iOS\) Nextcloud\-Talk v.*$/'; + + /** * @param string $name * * @return string |