Browse Source

Adjust capability

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1268/head
Joas Schilling 7 years ago
parent
commit
6c06a87133
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 4
      docs/api-v1.md
  2. 3
      lib/Capabilities.php
  3. 3
      tests/php/CapabilitiesTest.php

4
docs/api-v1.md

@ -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

3
lib/Capabilities.php

@ -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',
],
],
];

3
tests/php/CapabilitiesTest.php

@ -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());

Loading…
Cancel
Save