From 3c6c43a4e6d581f148b38755e22f63d9dd345de6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 11 Apr 2021 20:28:47 +0300 Subject: fixes #2837 (Scriver: internal chat log in groupchat is cleared after file sent via HTTP File Upload Scriver) --- plugins/Scriver/src/msgdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 0ec935f177..2603cfec25 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1281,7 +1281,7 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) PopupWindow(true); } - if (hDbEvent != m_hDbEventFirst && db_event_next(m_hContact, hDbEvent) == 0) + if (isChat() || (hDbEvent != m_hDbEventFirst && db_event_next(m_hContact, hDbEvent) == 0)) m_pLog->LogEvents(hDbEvent, 1, 1); else SendMessage(m_hwnd, DM_REMAKELOG, 0, 0); -- cgit v1.2.3