forked from Mirrors/gomuks
web/timeline: don't render url previews on hidden events
This commit is contained in:
parent
5fae264802
commit
266116f237
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue