From a76c86a89b7d3ec692ba55a3d4a208996250dd44 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Sep 2023 19:57:12 +0300 Subject: =?UTF-8?q?fixes=20#3689=20(=D0=9F=D1=80=D0=BE=D0=BF=D0=B0=D0=BB?= =?UTF-8?q?=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=20=D0=B2=20=D0=B6=D1=83=D1=80?= =?UTF-8?q?=D0=BD=D0=B0=D0=BB=D0=B0=D1=85=20=D0=B3=D1=80=D1=83=D0=BF=D1=87?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/msgdialog.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') 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; -- cgit v1.2.3