diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index 237c9021..315638af 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -204,6 +204,7 @@ export function RoomTimeline({ eventId, roomInputRef, editor, timeline }: RoomTi ] ); + const activeThread = useObservableValue(timeline.activeThread); const threads = useObservableValue(timeline.threads); const redacted = useObservableValue(timeline.relations.redacted); const reactions = useObservableValue(timeline.relations.reactions.eventToRelations); @@ -484,6 +485,7 @@ export function RoomTimeline({ eventId, roomInputRef, editor, timeline }: RoomTi {reactionJSX} {threadTimeline && ( - - Last reply by - {getMemberName(latestReplyEvent.sender)} - at - + {draft && !active ? ( + + Draft: + {toPlainText(draft, false).trim()} + + ) : ( + + Last reply by + {getMemberName(latestReplyEvent.sender)} + at + + )}