Skip to content

Commit

Permalink
Adds support for q tags on addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Oct 31, 2024
1 parent 03225fc commit 2a24ca0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ class TextNoteEvent(
tags.add(arrayOf("q", it))
}
}
addresses?.forEach {
if (it.toTag() in directMentions) {
tags.add(arrayOf("q", it.toTag()))
}
}
addresses
?.map { it.toTag() }
?.let {
Expand Down

0 comments on commit 2a24ca0

Please sign in to comment.