Merge pull request #6932 from nextcloud/constants-for-talk-useragents
Define constants for the talk user agents
This commit is contained in:
commit
73aef992c6
|
@ -68,6 +68,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
|
||||
*/
|
||||
|
@ -78,6 +83,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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue