Fixes the rendering of replies on wikipages.

This commit is contained in:
Vitor Pamplona
2024-05-23 16:59:51 -04:00
parent e38f6be20c
commit 1cd5845960
13 changed files with 160 additions and 101 deletions
@@ -194,7 +194,8 @@ open class BaseTextNoteEvent(
val tagAddresses =
taggedAddresses().filter {
it.kind != CommunityDefinitionEvent.KIND &&
it.kind != WikiNoteEvent.KIND
(kind != WikiNoteEvent.KIND || it.kind != WikiNoteEvent.KIND)
// removes forks from itself.
}.map { it.toTag() }
if (repliesTo.isEmpty() && tagAddresses.isEmpty()) return emptyList()