mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:17:27 +01:00
Add getRelay
This commit is contained in:
@@ -49,6 +49,8 @@ class NostrClient(
|
||||
|
||||
fun buildRelay(it: RelaySetupInfoToConnect): Relay = Relay(it.url, it.read, it.write, it.forceProxy, it.feedTypes, websocketBuilder, subscriptions)
|
||||
|
||||
fun getRelay(url: String): Relay? = relayPool.getRelay(url)
|
||||
|
||||
@Synchronized
|
||||
fun reconnect(
|
||||
relays: Array<RelaySetupInfoToConnect>?,
|
||||
|
||||
Reference in New Issue
Block a user