Fixing sending inside this function
This commit is contained in:
@@ -800,12 +800,7 @@ class Account(
|
|||||||
.dmInboxRelayList()
|
.dmInboxRelayList()
|
||||||
?.relays()
|
?.relays()
|
||||||
?.ifEmpty { null }
|
?.ifEmpty { null }
|
||||||
if (relayList != null) {
|
return relayList?.toSet() ?: computeRelayListForLinkedUser(receiver)
|
||||||
client.send(event, relayList.toSet())
|
|
||||||
} else {
|
|
||||||
val publicRelayList = computeRelayListForLinkedUser(receiver)
|
|
||||||
client.send(event, publicRelayList)
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
return emptySet()
|
return emptySet()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user