From 89f5ffff787ff39ff3ef11c578792921656d77ce Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 24 Oct 2023 11:22:17 +0100 Subject: [PATCH] Fix io.element.late_event received_ts vs received_at Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/grouper/LateEventGrouper.ts | 2 +- src/components/views/rooms/EventTile.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/grouper/LateEventGrouper.ts b/src/components/structures/grouper/LateEventGrouper.ts index 5e7f0d19de7..67282e608c6 100644 --- a/src/components/structures/grouper/LateEventGrouper.ts +++ b/src/components/structures/grouper/LateEventGrouper.ts @@ -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 */ diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 45f42986acf..54d874d785e 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -1127,7 +1127,7 @@ export class UnwrappedEventTile extends React.Component 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} /> );