Fix io.element.late_event received_ts vs received_at (#11789)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
t3chguy/dedup-icons-17oct
Michael Telatynski 2023-10-25 08:01:24 +01:00 committed by GitHub
parent b2fb41b91c
commit afcaec658f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ interface UnsignedLateEventInfo {
/**
* Milliseconds since epoch representing the time the event was received by the server
*/
received_at: number;
received_ts: number;
/**
* An opaque identifier representing the group the server has put the late arriving event into
*/

View File

@ -1127,7 +1127,7 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
showRelative={this.context.timelineRenderingType === TimelineRenderingType.ThreadsList}
showTwelveHour={this.props.isTwelveHour}
ts={ts}
receivedTs={getLateEventInfo(this.props.mxEvent)?.received_at}
receivedTs={getLateEventInfo(this.props.mxEvent)?.received_ts}
/>
);