Fixes account creation that follows itself.

This commit is contained in:
Vitor Pamplona 2024-11-22 17:01:50 -05:00
parent 49148ddc76
commit 39726142ae

View File

@ -139,7 +139,7 @@ class ContactListEvent(
val tags =
listOf(arrayOf("alt", ALT)) +
followUsers.map {
listOfNotNull("a", it.pubKeyHex, it.relayUri).toTypedArray()
listOfNotNull("p", it.pubKeyHex, it.relayUri).toTypedArray()
} +
followTags.map { arrayOf("t", it) } +
followEvents.map { arrayOf("e", it) } +