Fixes notes appearing of replies for some recipes

This commit is contained in:
Vitor Pamplona 2024-12-30 16:03:00 -05:00
parent e8462fe67f
commit 54e6be8ef3

View File

@ -206,7 +206,7 @@ open class BaseTextNoteEvent(
} }
} else { } else {
if (certainRepliesTo.isNotEmpty()) { if (certainRepliesTo.isNotEmpty()) {
certainRepliesTo + tagAddresses certainRepliesTo + tagAddresses.filter { it !in citations }
} else { } else {
// mix bag between `e` for replies and `e` for citations // mix bag between `e` for replies and `e` for citations
uncertainRepliesTo.filter { it !in citations } uncertainRepliesTo.filter { it !in citations }