mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 06:57:34 +01:00
Fixes missing zaps on the first connection to a NWC wallet with a split payment.
This commit is contained in:
@@ -99,7 +99,7 @@ class Relay(
|
||||
}
|
||||
}
|
||||
|
||||
private fun sendOutbox() {
|
||||
fun sendOutbox() {
|
||||
synchronized(outboxCache) {
|
||||
outboxCache.values.forEach {
|
||||
send(it)
|
||||
|
||||
@@ -96,9 +96,8 @@ object RelayPool : Relay.Listener {
|
||||
addRelay(relay)
|
||||
|
||||
relay.connectAndRun {
|
||||
Client.allSubscriptions().forEach {
|
||||
relay.sendFilter(it.key, it.value)
|
||||
}
|
||||
relay.renewFilters()
|
||||
relay.sendOutbox()
|
||||
|
||||
onConnected(relay)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user