diff options
author | George Hazan <ghazan@miranda.im> | 2022-12-25 21:01:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-12-25 21:01:26 +0300 |
commit | 0c66b748a7b6b223d34374994e4d7d207e3d2c71 (patch) | |
tree | bb960016c02b7ba6a57f342c829b65b00b6d2476 /plugins/TabSRMM/src | |
parent | 97e9f52c99a41612fcfef3cae099519c46d55710 (diff) |
db_event_replace: new helper to eliminate duplicate events
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index bf6d9202fb..4e8372b7e4 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -474,7 +474,7 @@ int SendQueue::ackMessage(CMsgDialog *dat, WPARAM wParam, LPARAM lParam) NotifyEventHooks(g_chatApi.hevPreCreate, 0, (LPARAM)&evt); job.szSendBuffer = (char*)dbei.pBlob; - MEVENT hNewEvent = db_event_add(job.hContact, &dbei); + MEVENT hNewEvent = db_event_replace(job.hContact, &dbei); if (dat) if (!NEN::bNoSounds && !dat->m_pContainer->cfg.flags.m_bNoSound) |