Migrates to prefixes of 8 because more relays seem to work with this

This commit is contained in:
Vitor Pamplona
2023-08-18 23:43:16 -04:00
parent 2ac5742b0e
commit d8ce3b9d37

View File

@@ -57,10 +57,10 @@ object NostrHomeDataSource : NostrDataSource("HomeFeed") {
val follows = account.selectedUsersFollowList(account.defaultHomeFollowList)
val followKeys = follows?.map {
it.substring(0, 6)
it.substring(0, 8)
}
val followSet = followKeys?.plus(account.userProfile().pubkeyHex.substring(0, 6))
val followSet = followKeys?.plus(account.userProfile().pubkeyHex.substring(0, 8))
return TypedFilter(
types = setOf(FeedType.FOLLOWS),