Browse Source
Adjust capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1268/head
Joas Schilling
7 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
3 changed files with
4 additions and
6 deletions
-
docs/api-v1.md
-
lib/Capabilities.php
-
tests/php/CapabilitiesTest.php
|
|
|
@ -78,9 +78,9 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` |
|
|
|
* `in-call-flags` - A new flag `participantFlags` has been introduced and is replacing the `participantInCall` boolean. |
|
|
|
|
|
|
|
### 5.0 |
|
|
|
* `invite-by-mail` - Guests can be invited with their email address |
|
|
|
* `invite-by-mail` - *Replaced by `invite-groups-and-mails`* Guests can be invited with their email address |
|
|
|
* `notification-levels` - Users can select when they want to be notified in conversations |
|
|
|
* `invite-group` - Groups can be added to existing conversations via the add participant endpoint |
|
|
|
* `invite-groups-and-mails` - Groups can be added to existing conversations via the add participant endpoint |
|
|
|
|
|
|
|
## Room management |
|
|
|
|
|
|
|
|
|
|
|
@ -45,9 +45,8 @@ class Capabilities implements IPublicCapability { |
|
|
|
'system-messages', |
|
|
|
'mention-flag', |
|
|
|
'in-call-flags', |
|
|
|
'invite-by-mail', |
|
|
|
'notification-levels', |
|
|
|
'invite-group', |
|
|
|
'invite-groups-and-mails', |
|
|
|
], |
|
|
|
], |
|
|
|
]; |
|
|
|
|
|
|
|
@ -49,9 +49,8 @@ class CapabilitiesTest extends TestCase { |
|
|
|
'system-messages', |
|
|
|
'mention-flag', |
|
|
|
'in-call-flags', |
|
|
|
'invite-by-mail', |
|
|
|
'notification-levels', |
|
|
|
'invite-group', |
|
|
|
'invite-groups-and-mails', |
|
|
|
], |
|
|
|
], |
|
|
|
], $capabilities->getCapabilities()); |
|
|
|
|