diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index 9d19dbdd9..636bd91c0 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -47,8 +47,8 @@ QString MessageBuilder::matchLink(const QString &string) { LinkParser linkParser(string); - static QRegularExpression httpRegex("\\bhttps?://"); - static QRegularExpression ftpRegex("\\bftps?://"); + static QRegularExpression httpRegex("\\bhttps?://", QRegularExpression::CaseInsensitiveOption); + static QRegularExpression ftpRegex("\\bftps?://", QRegularExpression::CaseInsensitiveOption); if (!linkParser.hasMatch()) { return QString();