diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-24 15:10:35 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-10-24 15:10:35 +0200 |
commit | 2b425960b84f79fcb377273b469f7b83f8cc727f (patch) | |
tree | 531a3fcc3daef62f40c698072bfda5cc64d34ce0 | |
parent | db1096bcfdf2336ccf6aefb70dd902a63ed615db (diff) | |
download | nextcloud-server-2b425960b84f79fcb377273b469f7b83f8cc727f.tar.gz nextcloud-server-2b425960b84f79fcb377273b469f7b83f8cc727f.zip |
Define constants for the talk user agents
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 |