Adds Relay Url to the Rich Text viewer

This commit is contained in:
Vitor Pamplona
2026-03-01 12:45:47 -05:00
parent ca6af92411
commit 7212e9a879
3 changed files with 74 additions and 2 deletions
@@ -245,7 +245,7 @@ class RichTextParser {
if (videos.contains(word)) return VideoSegment(word)
if (word.startsWith("ws://", ignoreCase = true) || word.startsWith("wss://", ignoreCase = true)) return RelayUrlSegment(word)
if (word.startsWith("ws://") || word.startsWith("wss://")) return RelayUrlSegment(word)
if (urls.contains(word)) return LinkSegment(word)