diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 2aabe90e2..5cd3cbf07 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -955,7 +955,7 @@ void PeersDialog::insertChat() } //replace http://, https:// and www. with links - QRegExp rx("(https?://[^ <>]*)|(www\\.[^ <>]*)"); + QRegExp rx("(retroshare://[^ <>]*)|(https?://[^ <>]*)|(www\\.[^ <>]*)"); int count = 0; int pos = 200; //ignore the first 200 char because of the standard DTD ref while ( (pos = rx.indexIn(extraTxt, pos)) != -1 ) {