Revert "Linkify urls"
This seems to mess up user mentions. Probably a bug in the regex;
Reverting for now
This reverts commit 1763dc13c5.
This commit is contained in:
@@ -391,7 +391,6 @@ QString NeoChatRoom::eventToString(const RoomEvent &evt, Qt::TextFormat format,
|
||||
auto base = url.scheme() + QStringLiteral("://") + url.host() + (url.port() != -1 ? ':' + QString::number(url.port()) : QString());
|
||||
htmlBody.replace(utils::mxcImageRegExp, QStringLiteral(R"(<img \1 src="%1/_matrix/media/r0/download/\2/\3" \4 > )").arg(base));
|
||||
|
||||
linkifyUrls(htmlBody);
|
||||
return htmlBody;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user