summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-28 19:57:12 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-28 19:57:12 +0300
commita76c86a89b7d3ec692ba55a3d4a208996250dd44 (patch)
tree6293f168e664049c11dc40d7dd76600c8676eb97 /plugins/TabSRMM/src/msgdialog.cpp
parent679cd2308b3ea39bbe8bbf2e7e5ba7e37a30f1e0 (diff)
fixes #3689 (Пропал текст в журналах групчатов)
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 9bd223f402..b135ec52bb 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -561,11 +561,14 @@ bool CMsgDialog::OnInitDialog()
LoadContactAvatar();
LoadOwnAvatar();
- GetFirstEvent();
+ if (isChat())
+ m_pLog->Clear();
+ else
+ GetFirstEvent();
+
OnOptionsApplied();
if (isChat()) {
- m_pLog->Clear();
UpdateStatusBar();
UpdateTitle();
m_hTabIcon = m_hTabStatusIcon;