- Breaks the new Import Follow interface into two screens

- Improves user suggestion search by evaluating specific nip-05s and npubs
This commit is contained in:
Vitor Pamplona
2026-03-10 15:48:04 -04:00
parent dbaa02cdb0
commit b2a8a422b2
30 changed files with 646 additions and 1043 deletions
@@ -88,8 +88,6 @@ class ContactListEvent(
fun createAddressTag(pubKey: HexKey): String = Address.assemble(KIND, pubKey)
fun blockListFor(pubKeyHex: HexKey): String = "3:$pubKeyHex:"
suspend fun createFromScratch(
followUsers: List<ContactTag>,
relayUse: Map<String, ReadWrite>?,
@@ -132,6 +130,8 @@ class ContactListEvent(
val follows = earlierVersion.verifiedFollowKeySet()
val toBeAdded = users.filter { it.pubKey !in follows }.distinctBy { it.pubKey }.map { it.toTagArray() }
println("AABBCC Adding ${toBeAdded.size} users from ${users.size} users with ${follows.size} already there")
if (toBeAdded.isEmpty()) return earlierVersion
return create(