mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 15:27:24 +01:00
check eose too
This commit is contained in:
@@ -169,7 +169,7 @@ object Client : RelayPool.Listener {
|
||||
relay: Relay,
|
||||
subscriptionId: String?,
|
||||
) {
|
||||
if (type == Relay.StateType.DISCONNECT) {
|
||||
if (type == Relay.StateType.DISCONNECT || type == Relay.StateType.EOSE) {
|
||||
latch.countDown()
|
||||
Log.d("sendAndWaitForResponse", "onRelayStateChange Disconnected from relay ${relay.url} count: ${latch.count}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user