diff options
author | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:20:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:20:48 +0300 |
commit | 444338b0b7ac582a3208a06b0a1847c8e6dc5d3c (patch) | |
tree | 3649e77e2fd943e822491ddad5fb25366fdc231c /src/mir_app | |
parent | 18facae76d28d9ce95482ff5ee07bf3ca139bc10 (diff) |
NewStory: sometimes the group chat history is added twice
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_log.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_app/src/chat_log.cpp b/src/mir_app/src/chat_log.cpp index 9cefd759de..732c65dee2 100644 --- a/src/mir_app/src/chat_log.cpp +++ b/src/mir_app/src/chat_log.cpp @@ -424,6 +424,8 @@ void FreeMsgLogBitmaps(void) void CSimpleLogWindow::LogChatEvents(const struct LOGINFO *lin)
{
if (lin == nullptr) {
+ Clear();
+
for (auto &it : m_pDlg.getChat()->arEvents)
if (m_pDlg.IsSuitableEvent(*it))
LogChatEvent(*it);
|