fix(popup): hide q reposts in replies, show them only in quote-repost selection

This commit is contained in:
en 2025-02-27 14:53:59 +01:00
parent 78e679b7b0
commit 6dcf139989

View File

@ -532,7 +532,10 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => {
comment={{ event: reply }} comment={{ event: reply }}
/> />
)) ))
: commentEvents.map((reply) => ( : commentEvents
// Filter out events with 'q' tag since we are showing them with a dropdown
.filter((r) => r.event.tagValue('q') !== event.id)
.map((reply) => (
<Comment key={reply.event.id} comment={reply} /> <Comment key={reply.event.id} comment={reply} />
))} ))}
</div> </div>