From d78c9d23d5ad5e1341e46094d7f9e29686acaa7e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Apr 2018 11:18:52 +0200 Subject: code cleaning --- plugins/TabSRMM/src/sendlater.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/sendlater.cpp') 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); -- cgit v1.2.3