diff --git a/docs/capabilities.md b/docs/capabilities.md index e4ce5d3627d..f299a979790 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -120,3 +120,4 @@ * `config => call => can-upload-background` - Boolean flag whether the user can upload a custom virtual background (requires an account and non-zero quota). Uploads should be done to Talk/Backgrounds/ (respecting the user's attachment directory setting). * `config => call => supported-reactions` - A list of emojis supported as call reactions. If the list is absent or empty, clients should not show the emoji reaction option in calls. * `config => chat => typing-privacy` - User defined numeric value to enable 1 or disable 0 the typing indicator to other users +* `typing-privacy` - Support toggle typing privacy diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 03ba968da64..8692e988448 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -118,6 +118,7 @@ public function getCapabilities(): array { 'chat-get-context', 'single-conversation-status', 'chat-keep-notifications', + 'typing-privacy', ], 'config' => [ 'attachments' => [ diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index 1f0a4ef398d..60f327352dd 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -136,6 +136,7 @@ public function setUp(): void { 'chat-get-context', 'single-conversation-status', 'chat-keep-notifications', + 'typing-privacy', 'message-expiration', 'reactions', ];