Fixes passing onClosed messages forward from NostrClient

This commit is contained in:
Vitor Pamplona
2025-10-03 09:11:28 -04:00
parent f6213c2d9a
commit 97668513b5

View File

@@ -343,6 +343,14 @@ class NostrClient(
listeners.forEach { it.onEOSE(relay, subId, arrivalTime) } listeners.forEach { it.onEOSE(relay, subId, arrivalTime) }
} }
override fun onClosed(
relay: IRelayClient,
subId: String,
message: String,
) {
listeners.forEach { it.onClosed(relay, subId, message) }
}
override fun onRelayStateChange( override fun onRelayStateChange(
relay: IRelayClient, relay: IRelayClient,
type: RelayState, type: RelayState,