Merge pull request #17 from gugat/meeting-last-forever

Meeting stays created infinitely when defaultMeetingCreateJoinDuration=0
This commit is contained in:
Markos Calderon 2011-12-20 13:50:18 -08:00
commit 692a162e74

View File

@ -198,6 +198,7 @@ public class Meeting {
}
private boolean nobodyJoined(int expiry) {
if (expiry == 0) return false; /* Meeting stays created infinitely */
return (System.currentTimeMillis() - createdTime) > (expiry * MILLIS_IN_A_MINUTE);
}