diff --git a/src/messages/messagebuilder.cpp b/src/messages/messagebuilder.cpp index 9a6ff88eb..e4d85e6fb 100644 --- a/src/messages/messagebuilder.cpp +++ b/src/messages/messagebuilder.cpp @@ -46,7 +46,7 @@ QString MessageBuilder::matchLink(const QString &string) { const QString urlRegExp = "^" // protocol identifier - "(?:(?:https?|ftp)://)" + "(?:(?:https?|ftp)://)?" // user:pass authentication "(?:\\S+(?::\\S*)?@)?" "(?:"