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

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
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 * 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 * 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} showRelative={this.context.timelineRenderingType === TimelineRenderingType.ThreadsList}
showTwelveHour={this.props.isTwelveHour} showTwelveHour={this.props.isTwelveHour}
ts={ts} ts={ts}
receivedTs={getLateEventInfo(this.props.mxEvent)?.received_at} receivedTs={getLateEventInfo(this.props.mxEvent)?.received_ts}
/> />
); );