Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix io.element.late_event received_ts vs received_at (#11789)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy authored Oct 25, 2023
1 parent b2fb41b commit afcaec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/structures/grouper/LateEventGrouper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/rooms/EventTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
);

Expand Down

0 comments on commit afcaec6

Please sign in to comment.