From f500a91a691d6dc2832fe1945c80eb9cdc500944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Mon, 8 Sep 2025 19:04:53 +0200 Subject: [PATCH] fix: Don't transfer sample rooms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- lib/Command/User/TransferOwnership.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Command/User/TransferOwnership.php b/lib/Command/User/TransferOwnership.php index c5131cb1490..c10454c6682 100644 --- a/lib/Command/User/TransferOwnership.php +++ b/lib/Command/User/TransferOwnership.php @@ -84,6 +84,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int continue; } + if ($room->getObjectType() === Room::OBJECT_TYPE_SAMPLE) { + // Skip sample rooms + continue; + } + if ($room->isFederatedConversation()) { $federatedRooms++; continue;