Simplifies new try
This commit is contained in:
+1
-4
@@ -57,10 +57,7 @@ class PoolEventOutboxRepository {
|
|||||||
id: HexKey,
|
id: HexKey,
|
||||||
url: NormalizedRelayUrl,
|
url: NormalizedRelayUrl,
|
||||||
) {
|
) {
|
||||||
val waiting = eventOutbox[id]
|
eventOutbox[id]?.newTry(url)
|
||||||
if (waiting != null) {
|
|
||||||
waiting.newTry(url)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun newResponse(
|
fun newResponse(
|
||||||
|
|||||||
Reference in New Issue
Block a user