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;
|
let timerMessage;
|
||||||
|
|
||||||
const timerUpdate = this.model.get('expirationTimerUpdate');
|
const timerUpdate = this.model.get('expirationTimerUpdate');
|
||||||
const prettySeconds = Whisper.ExpirationTimerOptions.getName(seconds);
|
const prettySeconds = Whisper.ExpirationTimerOptions.getName(
|
||||||
|
seconds || 0
|
||||||
|
);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
timerUpdate &&
|
timerUpdate &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue