mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-04 18:33:47 +02:00
Refactors the name of the simple relay client
This commit is contained in:
@@ -29,7 +29,7 @@ import com.vitorpamplona.quartz.nip01Core.relay.client.single.IRelayClient
|
|||||||
import com.vitorpamplona.quartz.nip42RelayAuth.RelayAuthEvent
|
import com.vitorpamplona.quartz.nip42RelayAuth.RelayAuthEvent
|
||||||
import com.vitorpamplona.quartz.utils.LargeCache
|
import com.vitorpamplona.quartz.utils.LargeCache
|
||||||
|
|
||||||
class OutboxProtector(
|
class OutboxCache(
|
||||||
listener: IRelayClientListener,
|
listener: IRelayClientListener,
|
||||||
) : RedirectRelayClientListener(listener) {
|
) : RedirectRelayClientListener(listener) {
|
||||||
/**
|
/**
|
@@ -40,7 +40,7 @@ class SimpleRelayClient(
|
|||||||
) : IRelayClient by BasicRelayClient(
|
) : IRelayClient by BasicRelayClient(
|
||||||
url,
|
url,
|
||||||
socketBuilder,
|
socketBuilder,
|
||||||
OutboxProtector(listener),
|
OutboxCache(listener),
|
||||||
stats,
|
stats,
|
||||||
defaultOnConnect,
|
defaultOnConnect,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user