Ensure disabled timer notification is 'to off' not 'to seconds'
This commit is contained in:
parent
f5852bb357
commit
5823ae3951
1 changed files with 3 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Reference in a new issue