mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-11 00:36:31 +01:00
Add getAll
This commit is contained in:
@@ -228,6 +228,8 @@ class NostrClient(
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun getAll(): List<Relay> = relayPool.getAll()
|
||||||
|
|
||||||
fun sendFilterOnlyIfDisconnected(
|
fun sendFilterOnlyIfDisconnected(
|
||||||
subscriptionId: String = UUID.randomUUID().toString().substring(0..10),
|
subscriptionId: String = UUID.randomUUID().toString().substring(0..10),
|
||||||
filters: List<TypedFilter> = listOf(),
|
filters: List<TypedFilter> = listOf(),
|
||||||
|
|||||||
Reference in New Issue
Block a user