diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-26 15:16:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-26 15:16:28 +0300 |
commit | 2f6fc29c613c226d7a3b98fa20c79b2ae8ea1c0f (patch) | |
tree | 59c33c5287f4fe4448d34183fbe67d54b1f6f97e | |
parent | 493fe46e44eb71aa90da0689f4c924860a413265 (diff) |
fixes #3463 (Плагины сообщений: кнопка истории в групповых чатах)
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index a5bb705ae9..0dfe3e31ca 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -765,7 +765,7 @@ void CSrmmBaseDialog::onClick_History(CCtrlButton *pButton) if (!pButton->Enabled())
return;
- if (m_si != nullptr)
+ if (m_si != nullptr && !m_si->pMI->bDatabase)
ShellExecute(m_hwnd, nullptr, g_chatApi.GetChatLogsFilename(m_si, 0), nullptr, nullptr, SW_SHOW);
else
CallService(MS_HISTORY_SHOWCONTACTHISTORY, m_hContact, 0);
|