Fix breakout room with incorrect last state

This commit is contained in:
Tainan Felipe 2019-05-07 15:22:51 -03:00
parent b43043e56c
commit 0f08df23cb

View File

@ -102,7 +102,7 @@ export default injectNotify(injectIntl(withTracker(({
clearInterval(timeRemainingInterval);
}
if (timeRemaining && timeRemaining >= 0) {
if (timeRemaining !== null && timeRemaining >= 0) {
if (timeRemaining > 0) {
const time = getTimeRemaining();
if (time === (1 * 60) && alertMessageUnderOneMinute) notify(alertMessageUnderOneMinute, 'info', 'rooms');