mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
Merge pull request #15091 from nextcloud/bugfix/noid/expose-instant-meetings-retention
This commit is contained in:
commit
4c1d4eedc6
1 changed files with 1 additions and 1 deletions
|
|
@ -947,7 +947,7 @@ class RoomController extends AEnvironmentAwareOCSController {
|
|||
#[PublicPage]
|
||||
#[RequireModeratorParticipant]
|
||||
public function unbindRoomFromObject(): DataResponse {
|
||||
if ($this->room->getObjectType() === Room::OBJECT_TYPE_EVENT) {
|
||||
if ($this->room->getObjectType() === Room::OBJECT_TYPE_EVENT || $this->room->getObjectType() === Room::OBJECT_TYPE_INSTANT_MEETING) {
|
||||
$this->roomService->resetObject($this->room);
|
||||
} elseif ($this->room->getObjectType() === Room::OBJECT_TYPE_PHONE_TEMPORARY) {
|
||||
$this->roomService->setObject($this->room, Room::OBJECT_TYPE_PHONE_PERSIST, $this->room->getObjectId());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue