diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip53LiveActivities/LiveActivitiesChannel.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip53LiveActivities/LiveActivitiesChannel.kt index d1ca69f69..34805ebfd 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip53LiveActivities/LiveActivitiesChannel.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip53LiveActivities/LiveActivitiesChannel.kt @@ -42,7 +42,7 @@ class LiveActivitiesChannel( fun address() = address - override fun relays() = info?.allRelayUrls()?.toSet() ?: super.relays() + override fun relays() = info?.allRelayUrls()?.toSet()?.ifEmpty { null } ?: super.relays() fun relayHintUrl() = relays().firstOrNull()