Adds support for the q tag together with the support for the mention marker.

This commit is contained in:
Vitor Pamplona
2024-02-25 11:40:39 -05:00
parent 6afd9a0191
commit 5ad86e5604
2 changed files with 6 additions and 1 deletions

View File

@@ -79,6 +79,11 @@ class TextNoteEvent(
tags.add(arrayOf("p", it))
}
}
replyTos?.forEach {
if (it in directMentions) {
tags.add(arrayOf("q", it))
}
}
addresses
?.map { it.toTag() }
?.let {