mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 16:46:44 +01:00
fix lint
This commit is contained in:
@@ -162,7 +162,11 @@ object Client : RelayPool.Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onError(error: Error, subscriptionId: String, relay: Relay) {
|
override fun onError(
|
||||||
|
error: Error,
|
||||||
|
subscriptionId: String,
|
||||||
|
relay: Relay,
|
||||||
|
) {
|
||||||
unsubscribe(this)
|
unsubscribe(this)
|
||||||
latch.countDown()
|
latch.countDown()
|
||||||
Log.d("Relay", "Error from relay ${relay.url} count: ${latch.count} error: $error")
|
Log.d("Relay", "Error from relay ${relay.url} count: ${latch.count} error: $error")
|
||||||
@@ -180,7 +184,12 @@ object Client : RelayPool.Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onSendResponse(eventId: String, success: Boolean, message: String, relay: Relay) {
|
override fun onSendResponse(
|
||||||
|
eventId: String,
|
||||||
|
success: Boolean,
|
||||||
|
message: String,
|
||||||
|
relay: Relay,
|
||||||
|
) {
|
||||||
if (eventId == signedEvent.id()) {
|
if (eventId == signedEvent.id()) {
|
||||||
unsubscribe(this)
|
unsubscribe(this)
|
||||||
latch.countDown()
|
latch.countDown()
|
||||||
|
|||||||
Reference in New Issue
Block a user