mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
fix(state): provide call recording config values with initial state
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
46a9649179
commit
775ed02fa8
2 changed files with 4 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ class RoomController extends AEnvironmentAwareOCSController {
|
|||
$this->config->getAppValue('spreed', 'sip_bridge_dialin_info'),
|
||||
$this->config->getAppValue('spreed', 'sip_bridge_shared_secret'),
|
||||
$this->config->getAppValue('spreed', 'recording_consent'),
|
||||
$this->config->getAppValue('spreed', 'call_recording_transcription'),
|
||||
$this->config->getAppValue('spreed', 'call_recording_summary'),
|
||||
$this->config->getAppValue('theming', 'cachebuster', '1'),
|
||||
$this->config->getUserValue($this->userId, 'theming', 'userCacheBuster', '0'),
|
||||
$this->config->getAppValue('spreed', 'federation_incoming_enabled'),
|
||||
|
|
|
|||
|
|
@ -448,6 +448,8 @@ class AdminSettings implements ISettings {
|
|||
'uploadLimit' => is_infinite($uploadLimit) ? 0 : $uploadLimit,
|
||||
]);
|
||||
$this->initialState->provideInitialState('recording_consent', $this->talkConfig->getRecordingConsentConfig());
|
||||
$this->initialState->provideInitialState('call_recording_transcription', $this->serverConfig->getAppValue('spreed', 'call_recording_transcription', 'no') === 'yes');
|
||||
$this->initialState->provideInitialState('call_recording_summary', $this->serverConfig->getAppValue('spreed', 'call_recording_summary', 'yes') === 'yes');
|
||||
}
|
||||
|
||||
protected function initSIPBridge(): void {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue