The handling also needed to be updated to handle domains correctly - just routing to goToURL instead of gTo fixes this.
Showing the changes to interface/src/ui/ChatWindow.cpp (1 of 2 files). Show all
Unified · Split
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | const int NUM_MESSAGES_TO_TIME_STAMP = 20; |
| 32 | 32 | |
| 33 | −const QRegularExpression regexLinks("((?:(?:ftp)|(?:https?))://\\S+)"); | |
| 33 | +const QRegularExpression regexLinks("((?:(?:ftp)|(?:https?)|(?:hifi))://\\S+)"); | |
| 34 | 34 | const QRegularExpression regexHifiLinks("([#@]\\S+)"); |
| 35 | 35 | const QString mentionSoundsPath("/sounds/mention/"); |
| 36 | 36 | const QString mentionRegex("@(\\b%1\\b)"); |