Basic support for FHIR payloads.

Support for nembed
This commit is contained in:
Vitor Pamplona
2024-02-27 18:50:20 -05:00
parent e305f3c198
commit 328ed226c6
7 changed files with 470 additions and 3 deletions

View File

@@ -319,8 +319,8 @@ class RichTextParser() {
Pattern.compile("#([^\\s!@#\$%^&*()=+./,\\[{\\]};:'\"?><]+)(.*)", Pattern.CASE_INSENSITIVE)
val acceptedNIP19schemes =
listOf("npub1", "naddr1", "note1", "nprofile1", "nevent1") +
listOf("npub1", "naddr1", "note1", "nprofile1", "nevent1").map {
listOf("npub1", "naddr1", "note1", "nprofile1", "nevent1", "nembed") +
listOf("npub1", "naddr1", "note1", "nprofile1", "nevent1", "nembed").map {
it.uppercase()
}