diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-27 11:18:52 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-27 11:18:52 +0200 |
commit | d78c9d23d5ad5e1341e46094d7f9e29686acaa7e (patch) | |
tree | a25e4f14cb92e3af8d2f9e0453757d856528b335 /plugins/TabSRMM/src/sendlater.cpp | |
parent | 37071053f2bfb38733d0ef912b3a414f67b8be03 (diff) |
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendlater.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index e98a46c087..bd7b744e35 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -438,11 +438,10 @@ HANDLE CSendLater::processAck(const ACKDATA *ack) if (!p->fSuccess) {
DBEVENTINFO dbei = {};
dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.flags = DBEF_SENT;
+ dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.szModule = GetContactProto((p->hContact));
dbei.timestamp = time(nullptr);
dbei.cbBlob = (int)mir_strlen(p->sendBuffer) + 1;
- dbei.flags |= DBEF_UTF;
dbei.pBlob = (PBYTE)(p->sendBuffer);
db_event_add(p->hContact, &dbei);
|