- do not send notification if duration=0

This commit is contained in:
Richard Alam 2015-06-10 19:21:55 +00:00
parent 36b9dc0104
commit 8f476d3571

View File

@ -182,7 +182,7 @@ class MeetingActor(val meetingID: String, val externalMeetingID: String, val mee
println("(" + startedOn + "+" + duration + ") - " + now + " = " + ((startedOn + duration) - now) + " < 15")
if (((startedOn + duration) - now) < 15) {
if (duration > 0 && (((startedOn + duration) - now) < 15)) {
log.warning("MEETING WILL END IN 15 MINUTES!!!!")
}
}