mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #6932 from nextcloud/constants-for-talk-useragents
Define constants for the talk user agents
This commit is contained in:
commit
73aef992c6
1 changed files with 10 additions and 0 deletions
|
|
@ -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 a new issue