mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:27:21 +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) }
|
||||
}
|
||||
|
||||
override fun onClosed(
|
||||
relay: IRelayClient,
|
||||
subId: String,
|
||||
message: String,
|
||||
) {
|
||||
listeners.forEach { it.onClosed(relay, subId, message) }
|
||||
}
|
||||
|
||||
override fun onRelayStateChange(
|
||||
relay: IRelayClient,
|
||||
type: RelayState,
|
||||
|
||||
Reference in New Issue
Block a user