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

Fix io.element.late_event received_ts vs received_at #11789

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading