Looks like relays accept id prefixes of 8 more frequently than 6

This commit is contained in:
Vitor Pamplona
2023-07-16 11:50:55 -04:00
parent 9e207d0f24
commit 2d1a63be57

View File

@@ -22,7 +22,7 @@ object NostrDiscoveryDataSource : NostrDataSource("DiscoveryFeed") {
val follows = account.selectedUsersFollowList(account.defaultDiscoveryFollowList)
val followKeys = follows?.map {
it.substring(0, 6)
it.substring(0, 8)
}
return TypedFilter(
@@ -40,7 +40,7 @@ object NostrDiscoveryDataSource : NostrDataSource("DiscoveryFeed") {
val follows = account.selectedUsersFollowList(account.defaultDiscoveryFollowList)
val followKeys = follows?.map {
it.substring(0, 6)
it.substring(0, 8)
}
return TypedFilter(
@@ -58,7 +58,7 @@ object NostrDiscoveryDataSource : NostrDataSource("DiscoveryFeed") {
val follows = account.selectedUsersFollowList(account.defaultDiscoveryFollowList)
val followKeys = follows?.map {
it.substring(0, 6)
it.substring(0, 8)
}
return TypedFilter(