Merge pull request #415 from KotlinGeekDev/hashtag-search-fix

Fix for case-sensitive hashtag issue.
This commit is contained in:
Vitor Pamplona 2023-05-17 13:55:02 -04:00 committed by GitHub
commit 5d8ffd1e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ class TextNoteEvent(
}
findHashtags(msg).forEach {
tags.add(listOf("t", it))
tags.add(listOf("t", it.lowercase()))
}
extraTags?.forEach {
tags.add(listOf("t", it))