diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Note.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Note.kt index 4fe1c0b60..883dcb8ca 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Note.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Note.kt @@ -189,15 +189,15 @@ open class Note( } fun relayUrls(): List { - val authorRelay = author?.relayHints()?.ifEmpty { null } + val authorRelay = author?.relayHints() ?: emptyList() - return authorRelay ?: relays + return authorRelay + relays } fun relayUrlsForReactions(): List { - val authorRelay = author?.inboxRelays()?.ifEmpty { null } + val authorRelay = author?.inboxRelays() ?: emptyList() - return authorRelay ?: relays + return authorRelay + relays } fun relayHintUrl(): NormalizedRelayUrl? {