Ensure disabled timer notification is 'to off' not 'to seconds'

This commit is contained in:
Scott Nonnenberg 2018-07-13 09:55:12 -07:00
parent f5852bb357
commit 5823ae3951

View file

@ -101,7 +101,9 @@
let timerMessage;
const timerUpdate = this.model.get('expirationTimerUpdate');
const prettySeconds = Whisper.ExpirationTimerOptions.getName(seconds);
const prettySeconds = Whisper.ExpirationTimerOptions.getName(
seconds || 0
);
if (
timerUpdate &&