- 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:
+2
-2
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user