From 2c53427a0dbace6c75b525d16db1221ff3b5a485 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Tue, 2 Sep 2014 15:25:54 -0700 Subject: [PATCH] - meeting with duration=0 should be destroyed after a certain period when last user leaves --- .../src/java/org/bigbluebutton/api/domain/Meeting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-web/src/java/org/bigbluebutton/api/domain/Meeting.java b/bigbluebutton-web/src/java/org/bigbluebutton/api/domain/Meeting.java index f1d6c5c53a..b17222c173 100644 --- a/bigbluebutton-web/src/java/org/bigbluebutton/api/domain/Meeting.java +++ b/bigbluebutton-web/src/java/org/bigbluebutton/api/domain/Meeting.java @@ -280,7 +280,7 @@ public class Meeting { } public boolean hasExpired(int expiry) { - return (hasStarted() && userHasJoined && isEmpty() && hasBeenEmptyFor(expiry) && !meetingInfinite()); + return (hasStarted() && userHasJoined && isEmpty() && hasBeenEmptyFor(expiry)); } public boolean hasExceededDuration() {