show reply count in feed
This commit is contained in:
@ -47,6 +47,7 @@ export function useEventReactions(link: NostrLink, related: ReadonlyArray<Tagged
|
||||
positive: groupReactions[Reaction.Positive] ?? [],
|
||||
negative: groupReactions[Reaction.Negative] ?? [],
|
||||
},
|
||||
replies: reactionKinds[String(EventKind.TextNote)] ?? [],
|
||||
reposts,
|
||||
zaps,
|
||||
others: Object.fromEntries(
|
||||
|
@ -23,7 +23,7 @@ export function useReactions(
|
||||
);
|
||||
|
||||
for (const [, v] of Object.entries(grouped)) {
|
||||
rb.withFilter().kinds([EventKind.Reaction, EventKind.Repost, EventKind.ZapReceipt]).replyToLink(v);
|
||||
rb.withFilter().kinds([EventKind.TextNote, EventKind.Reaction, EventKind.Repost, EventKind.ZapReceipt]).replyToLink(v);
|
||||
}
|
||||
}
|
||||
others?.(rb);
|
||||
|
Reference in New Issue
Block a user