backend: Add logging for room deletion process and mark rooms for deletion

This commit is contained in:
Carlos Santos 2025-04-15 11:14:39 +02:00
parent 4da56a1b51
commit cdc55d25ba

View File

@ -178,6 +178,7 @@ export class RoomService {
}
this.logger.verbose(`Room ${roomId} has participants. Marking as deleted (graceful deletion).`);
// Mark the room as deleted in the storage system. They will be deleted later when all participants leave.
await this.markRoomAsDeleted(roomId);
return { roomId, status: 'marked' } as const;
})