mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 20:06:37 +01:00
Fixes passing onClosed messages forward from NostrClient
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user