From 7a0582027463a6b4a0496dd77bcd6db97a5c1a9f Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 28 Oct 2021 14:33:51 +0200 Subject: [PATCH] SEBSERV-236 fixed --- .../service/session/proctoring/MonitoringProctoringService.java | 2 +- .../gui/service/session/proctoring/ProctoringGUIService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/MonitoringProctoringService.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/MonitoringProctoringService.java index 3d056de1..9ffb7886 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/MonitoringProctoringService.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/MonitoringProctoringService.java @@ -487,7 +487,7 @@ public class MonitoringProctoringService { try { - final boolean active = room.roomSize > 0 && !room.isOpen; + final boolean active = room.roomSize > 0 /* && !room.isOpen SEBSERV-236 */; final Display display = pageContext.getRoot().getDisplay(); final PageAction action = (PageAction) treeItem.getData(ActionPane.ACTION_EVENT_CALL_KEY); final Image image = active diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/ProctoringGUIService.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/ProctoringGUIService.java index 9d69b307..63451f1e 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/ProctoringGUIService.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/proctoring/ProctoringGUIService.java @@ -101,7 +101,7 @@ public class ProctoringGUIService { public boolean isCollectingRoomEnabled(final String roomName) { try { final Pair pair = this.collectingRoomsActionState.get(roomName); - return pair.a.roomSize > 0 && !pair.a.isOpen; + return pair.a.roomSize > 0 /* && !pair.a.isOpen SEBSERV-236 */; } catch (final Exception e) { log.error("Failed to get actual collecting room size for room: {} cause: ", roomName, e.getMessage()); return false;