- do not send notification if duration=0
This commit is contained in:
parent
36b9dc0104
commit
8f476d3571
@ -182,7 +182,7 @@ class MeetingActor(val meetingID: String, val externalMeetingID: String, val mee
|
|||||||
|
|
||||||
println("(" + startedOn + "+" + duration + ") - " + now + " = " + ((startedOn + duration) - now) + " < 15")
|
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!!!!")
|
log.warning("MEETING WILL END IN 15 MINUTES!!!!")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user