summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-12-25 21:01:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-12-25 21:01:26 +0300
commit0c66b748a7b6b223d34374994e4d7d207e3d2c71 (patch)
treebb960016c02b7ba6a57f342c829b65b00b6d2476 /src/core/stdmsg
parent97e9f52c99a41612fcfef3cae099519c46d55710 (diff)
db_event_replace: new helper to eliminate duplicate events
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/cmdlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/cmdlist.cpp b/src/core/stdmsg/src/cmdlist.cpp
index 7f8a420cbe..beb669dcf5 100644
--- a/src/core/stdmsg/src/cmdlist.cpp
+++ b/src/core/stdmsg/src/cmdlist.cpp
@@ -102,7 +102,7 @@ void msgQueue_processack(MCONTACT hContact, int id, BOOL success, LPARAM lParam)
p->szMsg = (char*)dbei.pBlob;
- db_event_add(hContact, &dbei);
+ db_event_replace(hContact, &dbei);
mir_free(p->szMsg);
mir_free(p);