Do not show timestamp if timestamp matches sent_at
This commit is contained in:
parent
efde909484
commit
9af523c4fc
1 changed files with 6 additions and 1 deletions
|
@ -361,10 +361,15 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
status = SendStatus.Read;
|
||||
}
|
||||
|
||||
const statusTimestamp = sendState?.updatedAt;
|
||||
|
||||
return {
|
||||
...findAndFormatContact(id),
|
||||
status,
|
||||
statusTimestamp: sendState?.updatedAt,
|
||||
statusTimestamp:
|
||||
statusTimestamp === this.get('sent_at')
|
||||
? undefined
|
||||
: statusTimestamp,
|
||||
errors: errorsForContact,
|
||||
isOutgoingKeyError,
|
||||
isUnidentifiedDelivery,
|
||||
|
|
Loading…
Reference in a new issue