From d7cb22ac170eef061a165941e4609d79f7cddb7c Mon Sep 17 00:00:00 2001 From: Hamza Date: Mon, 4 May 2026 15:37:59 +0200 Subject: [PATCH] fix: Revert: "fix(Override): Remove override for now so Talk can be run on older servers" This reverts commit 3566c5acfa441cf951d9cb04beddc2cdc1f27485. Signed-off-by: Hamza --- lib/OCP/TalkBackend.php | 2 ++ tests/psalm-baseline.xml | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/OCP/TalkBackend.php b/lib/OCP/TalkBackend.php index 79600baf75e..c6bfd46cd51 100644 --- a/lib/OCP/TalkBackend.php +++ b/lib/OCP/TalkBackend.php @@ -73,6 +73,7 @@ public function deleteConversation(string $id): void { $this->roomService->deleteRoom($room); } + #[\Override] public function isAllowedToCreateConversations(): bool { $user = $this->userSession->getUser(); if ($user === null) { @@ -82,6 +83,7 @@ public function isAllowedToCreateConversations(): bool { return !$this->config->isNotAllowedToCreateConversations($user); } + #[\Override] public function isEnabledForUser(): bool { $user = $this->userSession->getUser(); if ($user === null) { diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 4b188397361..a4d85acfd27 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -150,12 +150,6 @@ rooms]]> - - - - - -