Handle timer updates along with group updates
This commit is contained in:
parent
67464774c3
commit
9d9a797bda
4 changed files with 18 additions and 8 deletions
|
@ -103,7 +103,10 @@
|
|||
const timerUpdate = this.model.get('expirationTimerUpdate');
|
||||
const prettySeconds = Whisper.ExpirationTimerOptions.getName(seconds);
|
||||
|
||||
if (timerUpdate && timerUpdate.fromSync) {
|
||||
if (
|
||||
timerUpdate &&
|
||||
(timerUpdate.fromSync || timerUpdate.fromGroupUpdate)
|
||||
) {
|
||||
timerMessage = i18n('timerSetOnSync', prettySeconds);
|
||||
} else if (this.conversation.id === textsecure.storage.user.getNumber()) {
|
||||
timerMessage = i18n('youChangedTheTimer', prettySeconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue