mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
feat(status): Add a capability for the restore
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
17a8de9e56
commit
90a817cee5
2 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ class Capabilities implements ICapability {
|
|||
return [
|
||||
'user_status' => [
|
||||
'enabled' => true,
|
||||
'restore' => true,
|
||||
'supports_emoji' => $this->emojiHelper->doesPlatformSupportEmoji(),
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ class CapabilitiesTest extends TestCase {
|
|||
$this->assertEquals([
|
||||
'user_status' => [
|
||||
'enabled' => true,
|
||||
'restore' => true,
|
||||
'supports_emoji' => $supportsEmojis,
|
||||
]
|
||||
], $this->capabilities->getCapabilities());
|
||||
|
|
|
|||
Loading…
Reference in a new issue