summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-11 20:28:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-11 20:28:47 +0300
commit3c6c43a4e6d581f148b38755e22f63d9dd345de6 (patch)
treee93b18216698da9ba6919d667a6c33617786f5a0 /plugins/Scriver/src
parentf6e96ca5c529f7bff287d2c47b5e319f18435235 (diff)
fixes #2837 (Scriver: internal chat log in groupchat is cleared after file sent via HTTP File Upload Scriver)
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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);