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;