From c8d6f9a6653fe678ed150bc1ca7702932fb353b2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 11 Jul 2025 17:18:44 +0200 Subject: [PATCH] fix(capabilities): Make sure capabilities are taken from host server Signed-off-by: Joas Schilling --- docs/capabilities.md | 8 ++++---- lib/Capabilities.php | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/capabilities.md b/docs/capabilities.md index b09ebb923e..1674e1ef43 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -183,10 +183,10 @@ * `conversation-creation-all` (local) - Whether the conversation creation endpoint allows to specify all attributes of a conversation * `sip-direct-dialin` (local) - Whether the SIP bridge can create conversations when an external participant calls a mapped phone number * `important-conversations` (local) - Whether important conversations are supported -* `unbind-conversation` (local) - Whether the API exists to make an event and phone conversation persistent -* `config => conversations => retention-event` (local) - Number of days before an inactive event conversation is deleted (`0` = disabled) -* `config => conversations => retention-instant-meetings` (local) - Number of days before an instant meeting conversation is deleted (`0` = disabled) -* `config => conversations => retention-phone` (local) - Number of days before an inactive incoming or outgoing phone conversation is deleted (`0` = disabled) +* `unbind-conversation` - Whether the API exists to make an event and phone conversation persistent +* `config => conversations => retention-event` - Number of days before an inactive event conversation is deleted (`0` = disabled) +* `config => conversations => retention-instant-meetings` - Number of days before an instant meeting conversation is deleted (`0` = disabled) +* `config => conversations => retention-phone` - Number of days before an inactive incoming or outgoing phone conversation is deleted (`0` = disabled) * `config => call => predefined-backgrounds-v2` (local) - Whether virtual backgrounds should be read from the theming directory * `config => experiments => enabled` (local) - Bit flag of enabled experiments for clients * `dashboard-event-rooms` (local) - Whether Talk APIs offer functionality for Dashboard requests diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 418e87e94e..a534c6c53b 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -152,6 +152,7 @@ class Capabilities implements IPublicCapability { 'dashboard-event-rooms', 'mutual-calendar-events', 'upcoming-reminders', + 'sensitive-conversations', ]; public const LOCAL_CONFIGS = [ @@ -177,9 +178,6 @@ class Capabilities implements IPublicCapability { 'can-create', 'list-style', 'description-length', - 'retention-event', - 'retention-phone', - 'retention-instant-meetings', ], 'federation' => [ 'enabled',