Adds the about user proerty of Contact Card

This commit is contained in:
Vitor Pamplona
2025-12-02 15:07:07 -05:00
parent 39223f0270
commit 62bf7db348
@@ -45,6 +45,8 @@ class ContactCardEvent(
content: String,
sig: HexKey,
) : PrivateTagArrayEvent(id, pubKey, createdAt, KIND, tags, content, sig) {
fun aboutUser() = tags.dTag()
fun rank() = tags.firstNotNullOfOrNull(RankTag::parse)
fun petName() = tags.firstNotNullOfOrNull(PetNameTag::parse)