mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-29 11:11:44 +01:00
Keep them public to allow testing in these particular functions
This commit is contained in:
parent
7cb87ea9c5
commit
e8574c10bb
@ -26,7 +26,7 @@ import com.vitorpamplona.quartz.events.AdvertisedRelayListEvent
|
||||
|
||||
class RelayListRecommendationProcessor {
|
||||
companion object {
|
||||
private fun transpose(
|
||||
fun transpose(
|
||||
userList: Map<HexKey, MutableSet<String>>,
|
||||
ignore: Set<String> = setOf(),
|
||||
): Map<String, MutableSet<HexKey>> {
|
||||
@ -76,7 +76,7 @@ class RelayListRecommendationProcessor {
|
||||
return validWriteRelayUrls
|
||||
}
|
||||
|
||||
private fun reliableRelaySetFor(
|
||||
fun reliableRelaySetFor(
|
||||
usersAndRelays: MutableMap<HexKey, MutableSet<String>>,
|
||||
relayUrlsToIgnore: Set<String> = emptySet(),
|
||||
): Set<RelayRecommendation> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user