feat: 💨
This commit is contained in:
parent
2b82ae78b7
commit
00866fd73a
3 changed files with 10 additions and 3 deletions
|
|
@ -251,7 +251,14 @@ export default function ReplyNoteList({
|
|||
<div className={className}>
|
||||
{replies.slice(0, showCount).map((reply) => {
|
||||
if (!isUserTrusted(reply.pubkey)) {
|
||||
return null
|
||||
const repliesForThisReply = repliesMap.get(reply.id)
|
||||
// If the reply is not trusted and there are no trusted replies for this reply, skip rendering
|
||||
if (
|
||||
!repliesForThisReply ||
|
||||
repliesForThisReply.events.every((evt) => !isUserTrusted(evt.pubkey))
|
||||
) {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
const parentEventTag = getParentEventTag(reply)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue