mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 18:31:48 +02:00
Fixes not sending the live stream events anywhere when the stream doesn't have a relay set declared.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user