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