Merge pull request #17 from gugat/meeting-last-forever
Meeting stays created infinitely when defaultMeetingCreateJoinDuration=0
This commit is contained in:
commit
692a162e74
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user