Skip to content

Commit

Permalink
Add the capability typing-privacy
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed May 5, 2023
1 parent 7e9a768 commit b8eb265
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/capabilities.md
Expand Up @@ -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
1 change: 1 addition & 0 deletions lib/Capabilities.php
Expand Up @@ -118,6 +118,7 @@ public function getCapabilities(): array {
'chat-get-context',
'single-conversation-status',
'chat-keep-notifications',
'typing-privacy',
],
'config' => [
'attachments' => [
Expand Down
1 change: 1 addition & 0 deletions tests/php/CapabilitiesTest.php
Expand Up @@ -136,6 +136,7 @@ public function setUp(): void {
'chat-get-context',
'single-conversation-status',
'chat-keep-notifications',
'typing-privacy',
'message-expiration',
'reactions',
];
Expand Down

0 comments on commit b8eb265

Please sign in to comment.