From 4cd8ac0ab7d1e4d5fba9729283c6bc2138a73c8d Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 27 Jan 2025 13:03:05 +0100 Subject: [PATCH] aio-interface: add note that talk-recording only works on x86 Signed-off-by: Simon L. --- php/src/Data/ConfigurationManager.php | 8 +++++++- php/templates/includes/optional-containers.twig | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index e7d6884f..33c5b7d0 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -210,7 +210,7 @@ class ConfigurationManager } public function SetFulltextsearchEnabledState(int $value) : void { - # Elasticsearch does not work on kernels without seccomp anymore. See https://github.com/nextcloud/all-in-one/discussions/5768 + // Elasticsearch does not work on kernels without seccomp anymore. See https://github.com/nextcloud/all-in-one/discussions/5768 if ($this->GetCollaboraSeccompDisabledState() === 'true') { $value = 0; } @@ -281,6 +281,12 @@ class ConfigurationManager if (!$this->isTalkEnabled()) { $value = 0; } + + // Currently only works on x64. See https://github.com/nextcloud/nextcloud-talk-recording/issues/17 + if (!$this->isx64Platform()) { + $value = 0; + } + $config = $this->GetConfig(); $config['isTalkRecordingEnabled'] = $value; $this->WriteConfig($config); diff --git a/php/templates/includes/optional-containers.twig b/php/templates/includes/optional-containers.twig index baa6c1cc..1f749115 100644 --- a/php/templates/includes/optional-containers.twig +++ b/php/templates/includes/optional-containers.twig @@ -96,7 +96,7 @@ data-initial-state="false" {% endif %} > - +

{% if is_onlyoffice_enabled == true %}