From 23d14553aea369a4db7eebb300d9c7cc300fe91d Mon Sep 17 00:00:00 2001 From: agilob Date: Thu, 6 Nov 2014 16:55:10 +0000 Subject: [PATCH] tox:id --- src/widget/tool/chatactions/messageaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/tool/chatactions/messageaction.cpp b/src/widget/tool/chatactions/messageaction.cpp index 71bfbe913..499299463 100644 --- a/src/widget/tool/chatactions/messageaction.cpp +++ b/src/widget/tool/chatactions/messageaction.cpp @@ -33,7 +33,7 @@ QString MessageAction::getMessage(QString div) message_ = toHtmlChars(message); // detect urls - QRegExp exp("(?:\\b)(www\\.|http[s]?:\\/\\/|ftp:\\/\\/|tox:\\/\\/)\\S+"); + QRegExp exp("(?:\\b)(www\\.|http[s]?:\\/\\/|ftp:\\/\\/|tox:\\/\\/|tox:)\\S+"); int offset = 0; while ((offset = exp.indexIn(message_, offset)) != -1) {