Simplifies new try

This commit is contained in:
Vitor Pamplona
2025-07-02 08:58:16 -04:00
parent 936b17f54a
commit 1615337a2c
@@ -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(