diff options
Diffstat (limited to 'apps/user_status')
-rw-r--r-- | apps/user_status/lib/Capabilities.php | 1 | ||||
-rw-r--r-- | apps/user_status/tests/Unit/CapabilitiesTest.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_status/lib/Capabilities.php b/apps/user_status/lib/Capabilities.php index 8f26525286c..5b3e105d31a 100644 --- a/apps/user_status/lib/Capabilities.php +++ b/apps/user_status/lib/Capabilities.php @@ -47,6 +47,7 @@ class Capabilities implements ICapability { return [ 'user_status' => [ 'enabled' => true, + 'restore' => true, 'supports_emoji' => $this->emojiHelper->doesPlatformSupportEmoji(), ], ]; diff --git a/apps/user_status/tests/Unit/CapabilitiesTest.php b/apps/user_status/tests/Unit/CapabilitiesTest.php index 02874fcbf6d..89e87775312 100644 --- a/apps/user_status/tests/Unit/CapabilitiesTest.php +++ b/apps/user_status/tests/Unit/CapabilitiesTest.php @@ -57,6 +57,7 @@ class CapabilitiesTest extends TestCase { $this->assertEquals([ 'user_status' => [ 'enabled' => true, + 'restore' => true, 'supports_emoji' => $supportsEmojis, ] ], $this->capabilities->getCapabilities()); |