diff options
Diffstat (limited to 'lib/Capabilities.php')
-rw-r--r-- | lib/Capabilities.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 8d778540d..84bd18c67 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -134,6 +134,7 @@ class Capabilities implements IPublicCapability { 'read-privacy' => Participant::PRIVACY_PUBLIC, // Transform the JsonSerializable language tuples to arrays 'translations' => json_decode(json_encode($this->translationManager->getLanguages()), true), + 'typing-privacy' => Participant::PRIVACY_PUBLIC, ], 'conversations' => [ 'can-create' => $user instanceof IUser && !$this->talkConfig->isNotAllowedToCreateConversations($user) @@ -159,6 +160,7 @@ class Capabilities implements IPublicCapability { if ($user instanceof IUser) { $capabilities['config']['attachments']['folder'] = $this->talkConfig->getAttachmentFolder($user->getUID()); $capabilities['config']['chat']['read-privacy'] = $this->talkConfig->getUserReadPrivacy($user->getUID()); + $capabilities['config']['chat']['typing-privacy'] = $this->talkConfig->getTypingPrivacy($user->getUID()); } $pubKey = $this->talkConfig->getSignalingTokenPublicKey(); |