Add capability for push
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
7f0a9f0193
Коммит
475ad40e44
|
@ -15,9 +15,9 @@ In order to find out if notifications support push on the server you can run a r
|
|||
"capabilities": {
|
||||
...
|
||||
"notifications": {
|
||||
"ocs-endpoints": [
|
||||
"push": [
|
||||
...
|
||||
"push"
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -45,6 +45,9 @@ class Capabilities implements ICapability {
|
|||
'icons',
|
||||
'rich-strings',
|
||||
],
|
||||
'push' => [
|
||||
'devices',
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
|
@ -38,6 +38,9 @@ class CapabilitiesTest extends TestCase {
|
|||
'icons',
|
||||
'rich-strings',
|
||||
],
|
||||
'push' => [
|
||||
'devices',
|
||||
],
|
||||
],
|
||||
], $capabilities->getCapabilities());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче