Skip to content

Commit

Permalink
web/timeline: don't render url previews on hidden events
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Dec 23, 2024
1 parent 5fae264 commit 266116f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/ui/timeline/TimelineEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const TimelineEvent = ({ evt, prevEvt, disableMenu, smallReplies }: TimelineEven
{replyInMessage}
<ContentErrorBoundary>
<BodyType room={roomCtx.store} sender={memberEvt} event={evt}/>
<URLPreviews room={roomCtx.store} event={evt}/>
{!isSmallBodyType && <URLPreviews room={roomCtx.store} event={evt}/>}
</ContentErrorBoundary>
{evt.reactions ? <EventReactions reactions={evt.reactions}/> : null}
</div>
Expand Down

0 comments on commit 266116f

Please sign in to comment.