Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(chatform): regression in detecting tox: type IDs
Browse files Browse the repository at this point in the history
Introduced in d343408 / #3044.
  • Loading branch information
zetok committed Apr 3, 2016
1 parent dde56c9 commit 48f3fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chatlog/chatmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ QString ChatMessage::detectAnchors(const QString &str)
// http://ONEORMOREALHPA-DIGIT
"\\w+\\S+)" // any other character, lets domains and other
"|(?:\\b)(file:///)([\\S| ]*)" //link to a local file, valid until the end of the line
"|(?:\\b)(tox:[a-zA-Z\\d]{76}$)" //link with full user address
"|(?:\\b)(tox:[a-zA-Z\\d]{76})" //link with full user address
"|(?:\\b)(mailto:\\S+@\\S+\\.\\S+)" //@mail link
"|(?:\\b)(tox:\\S+@\\S+)"); // starts with `tox` then : and only alpha-digits till the end
// also accepts tox:agilob@net as simplified TOX ID
Expand Down

0 comments on commit 48f3fb7

Please sign in to comment.