diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-09 15:00:21 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-09 15:00:21 +0300 |
commit | 45fc2c250c1f5044747ba90c733032b3e0b6cfff (patch) | |
tree | cc6f8e7d7dabe243c1242fc15b66d204c0c4cd37 /src/mir_app | |
parent | 6641d0fd12e381e998f6c0e24a037f9aebb9fd60 (diff) |
fixes #4250 (popups in group chats when a history is loaded from server)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index a476c35c48..9f017350c7 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -740,6 +740,8 @@ void Chat_EventToGC(SESSION_INFO *si, MEVENT hDbEvent) GCEVENT gce = { si, GC_EVENT_MESSAGE };
gce.dwFlags = GCEF_ADDTOLOG;
+ if (dbei.flags & DBEF_READ)
+ gce.dwFlags |= GCEF_NOTNOTIFY;
gce.pszUID.w = wszUserId;
gce.pszText.w = wszText;
gce.time = dbei.timestamp;
|