feat(status): Add a capability for the restore

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36854/head
Joas Schilling 3 years ago committed by Maksim Sukharev
parent 17a8de9e56
commit 90a817cee5
No known key found for this signature in database
GPG Key ID: 6349D071889BD1D5
  1. 1
      apps/user_status/lib/Capabilities.php
  2. 1
      apps/user_status/tests/Unit/CapabilitiesTest.php

@ -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…
Cancel
Save