feat(status): Add a capability for the restore

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-04-14 14:08:27 +02:00 committed by Maksim Sukharev
parent 17a8de9e56
commit 90a817cee5
No known key found for this signature in database
GPG key ID: 6349D071889BD1D5
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ class Capabilities implements ICapability {
return [
'user_status' => [
'enabled' => true,
'restore' => true,
'supports_emoji' => $this->emojiHelper->doesPlatformSupportEmoji(),
],
];

View file

@ -57,6 +57,7 @@ class CapabilitiesTest extends TestCase {
$this->assertEquals([
'user_status' => [
'enabled' => true,
'restore' => true,
'supports_emoji' => $supportsEmojis,
]
], $this->capabilities->getCapabilities());