From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sun, 26 Jan 2025 11:56:33 +0000 (+1100) Subject: fix threaded reply not working in encrypted rooms (#2172) X-Git-Tag: v4.3.0~7 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=f5d68fcc221f011c4c1870211bfedb475a9fb181;p=rainny.git fix threaded reply not working in encrypted rooms (#2172) --- diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index 63b3d3e..fb74384 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -900,7 +900,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli const editedReply = getEditedEvent(replyId, replyEvt, room.getUnfilteredTimelineSet()); const content: IContent = editedReply?.getContent()['m.new_content'] ?? replyEvt.getContent(); const { body, formatted_body: formattedBody } = content; - const { 'm.relates_to': relation } = replyEvt.getOriginalContent(); + const { 'm.relates_to': relation } = replyEvt.getWireContent(); const senderId = replyEvt.getSender(); if (senderId && typeof body === 'string') { setReplyDraft({