diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ReactionsRow.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ReactionsRow.kt index 1d1b96086..aa8ca8285 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ReactionsRow.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ReactionsRow.kt @@ -551,8 +551,7 @@ private fun BoostWithDialog( val forkEvent = baseNote.event val replyTo = if (forkEvent is BaseThreadedEvent) { - val hex = forkEvent.replyingTo() - baseNote.replyTo?.filter { it.event?.id == hex }?.firstOrNull() + baseNote.replyTo?.firstOrNull { it.event?.id == forkEvent.replyingTo() } } else { null }