Skip to content

Commit

Permalink
Ensure disabled timer notification is 'to off' not 'to seconds'
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Jul 13, 2018
1 parent f5852bb commit 5823ae3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/views/message_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 5823ae3

Please sign in to comment.