fix(capabilities): Make sure capabilities are taken from host server

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2025-07-11 17:18:44 +02:00
parent 266d912484
commit c8d6f9a665
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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',