summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-18 14:20:19 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-18 14:20:19 +0300
commit6ed0f28f9288a76e479b916f2e579b1a61ac47fd (patch)
tree3d8f87c6b52e2f1b4e234a50d7fd5c6b22897830 /src/core/stdmsg
parenta6173f891d255c44118f135992a6d5585ad22490 (diff)
Srmm_IsCustomLogUsed should take the 'forGroupchats' parameter into consideration
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/chat_options.cpp2
-rw-r--r--src/core/stdmsg/src/msgoptions.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/chat_options.cpp b/src/core/stdmsg/src/chat_options.cpp
index a2354b48a2..2518807485 100644
--- a/src/core/stdmsg/src/chat_options.cpp
+++ b/src/core/stdmsg/src/chat_options.cpp
@@ -332,7 +332,7 @@ int ChatOptionsInitialize(WPARAM wParam)
odp.pDialog = new COptMainDlg();
g_plugin.addOptions(wParam, &odp);
- if (!Chat::bEnableCustomLogs) {
+ if (!Srmm_IsCustomLogUsed(true)) {
odp.position = 910000001;
odp.szTab.a = LPGEN("Chat log");
odp.pDialog = new COptLogDlg();
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp
index 2f9bd7e906..a3206d7e05 100644
--- a/src/core/stdmsg/src/msgoptions.cpp
+++ b/src/core/stdmsg/src/msgoptions.cpp
@@ -572,7 +572,7 @@ int OptInitialise(WPARAM wParam, LPARAM)
g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Messaging log");
- odp.pDialog = new COptionLogDlg(Srmm_IsCustomLogUsed() ? IDD_OPT_MSGHIST : IDD_OPT_MSGLOG);
+ odp.pDialog = new COptionLogDlg(Srmm_IsCustomLogUsed(false) ? IDD_OPT_MSGHIST : IDD_OPT_MSGLOG);
g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Typing notify");