summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-27 11:18:52 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-27 11:18:52 +0200
commitd78c9d23d5ad5e1341e46094d7f9e29686acaa7e (patch)
treea25e4f14cb92e3af8d2f9e0453757d856528b335 /plugins/TabSRMM/src/sendqueue.cpp
parent37071053f2bfb38733d0ef912b3a414f67b8be03 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r--plugins/TabSRMM/src/sendqueue.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp
index 850ddee811..5b2fbd4979 100644
--- a/plugins/TabSRMM/src/sendqueue.cpp
+++ b/plugins/TabSRMM/src/sendqueue.cpp
@@ -460,7 +460,7 @@ int SendQueue::ackMessage(CTabBaseDlg *dat, WPARAM wParam, LPARAM lParam)
DBEVENTINFO dbei = {};
dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.flags = DBEF_SENT;
+ dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.szModule = GetContactProto(job.hContact);
dbei.timestamp = time(nullptr);
dbei.cbBlob = (int)mir_strlen(job.szSendBuffer) + 1;
@@ -474,7 +474,6 @@ int SendQueue::ackMessage(CTabBaseDlg *dat, WPARAM wParam, LPARAM lParam)
if (job.dwFlags & PREF_RTL)
dbei.flags |= DBEF_RTL;
- dbei.flags |= DBEF_UTF;
dbei.pBlob = (PBYTE)job.szSendBuffer;
MessageWindowEvent evt = { job.iSendId, job.hContact, &dbei };