Populate conversation snippet for timer updates

This commit is contained in:
lilia 2016-09-29 15:23:32 -07:00
parent 600ac94257
commit 8d16bfb65e
2 changed files with 17 additions and 0 deletions

View file

@ -81,6 +81,13 @@
if (this.get('attachments').length > 0) {
return i18n('mediaMessage');
}
if (this.isExpirationTimerUpdate()) {
return i18n('timerSetTo',
Whisper.ExpirationTimerOptions.getAbbreviated(
this.get('expirationTimerUpdate').expireTimer
)
);
}
return '';
},