Skip to content
Snippets Groups Projects
Unverified Commit 73aef992 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #6932 from nextcloud/constants-for-talk-useragents

Define constants for the talk user agents
parents 062aadba 2b425960
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,11 @@ interface IRequest { ...@@ -68,6 +68,11 @@ interface IRequest {
*/ */
const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/'; 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 * @since 9.1.0
*/ */
...@@ -78,6 +83,11 @@ interface IRequest { ...@@ -78,6 +83,11 @@ interface IRequest {
*/ */
const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/'; 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 * @param string $name
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment