From df8e5e0cc78e830b7fc5d0be6f08f03b9441f705 Mon Sep 17 00:00:00 2001 From: Evie Gauthier Date: Sun, 15 Mar 2026 13:58:13 -0400 Subject: [PATCH] style: fix prettier formatting in RoomInput --- src/app/features/room/RoomInput.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/features/room/RoomInput.tsx b/src/app/features/room/RoomInput.tsx index e79395f5..bde6a2de 100644 --- a/src/app/features/room/RoomInput.tsx +++ b/src/app/features/room/RoomInput.tsx @@ -180,9 +180,7 @@ const getLatestThreadEventId = (room: Room, threadRootId: string): string => { .getEvents() .filter( (ev) => - ev.threadRootId === threadRootId && - ev.getId() !== threadRootId && - !reactionOrEditEvent(ev) + ev.threadRootId === threadRootId && ev.getId() !== threadRootId && !reactionOrEditEvent(ev) ); if (liveEvents.length > 0) { return liveEvents[liveEvents.length - 1].getId() ?? threadRootId; @@ -497,7 +495,8 @@ export const RoomInput = forwardRef( const contents = fulfilledPromiseSettledResult(await Promise.allSettled(contentsPromises)); if (contents.length > 0) { - const replyContent = plainText?.length === 0 ? getReplyContent(replyDraft, room) : undefined; + const replyContent = + plainText?.length === 0 ? getReplyContent(replyDraft, room) : undefined; if (replyContent) contents[0]['m.relates_to'] = replyContent; if (threadRootId) { setReplyDraft({