diff options
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 3 | ||||
-rw-r--r-- | plugins/TabSRMM/src/version.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 95b8d4bcfa..8e563f090d 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -2567,7 +2567,7 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) break;
// clicked a nick name
- if (g_Settings.bClickableNicks) {
+ if (isChat() && g_Settings.bClickableNicks) {
if (msg == WM_RBUTTONDOWN) {
for (auto &ui : m_si->getUserList()) {
if (mir_wstrcmp(ui->pszNick, tr.lpstrText))
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index fa1ff6e1cc..8edb9aa78c 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -335,6 +335,9 @@ bool IsStringValidLink(wchar_t *pszText) if (pszText == nullptr)
return false;
+ if (pszText[0] == '\\' && pszText[1] == '\\')
+ return true;
+
if (mir_wstrlen(pszText) < 5 || wcschr(pszText, '"'))
return false;
diff --git a/plugins/TabSRMM/src/version.h b/plugins/TabSRMM/src/version.h index 0f4d8024f1..555d02ff66 100644 --- a/plugins/TabSRMM/src/version.h +++ b/plugins/TabSRMM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 3
#define __MINOR_VERSION 6
#define __RELEASE_NUM 1
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#include <stdver.h>
|