Fixing sending inside this function

This commit is contained in:
Vitor Pamplona
2026-03-03 13:37:55 -05:00
parent 7b80ee8bf0
commit 264b988b41
@@ -800,12 +800,7 @@ class Account(
.dmInboxRelayList()
?.relays()
?.ifEmpty { null }
if (relayList != null) {
client.send(event, relayList.toSet())
} else {
val publicRelayList = computeRelayListForLinkedUser(receiver)
client.send(event, publicRelayList)
}
return relayList?.toSet() ?: computeRelayListForLinkedUser(receiver)
} else {
return emptySet()
}