mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
fix: Don't transfer sample rooms
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
parent
01617696b1
commit
23da7637c4
1 changed files with 5 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ class TransferOwnership extends Base {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ($room->getObjectType() === Room::OBJECT_TYPE_SAMPLE) {
|
||||
// Skip sample rooms
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($room->isFederatedConversation()) {
|
||||
$federatedRooms++;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue