From afdb3f779b8d9059a474882ad78974b3ce021ff7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 May 2015 17:59:23 +0000 Subject: forgotten flag git-svn-id: http://svn.miranda-ng.org/main/trunk@13942 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewAwaySysMod/src/MsgEventAdded.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp index 0d6e151793..20411a6b86 100644 --- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp +++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp @@ -47,9 +47,9 @@ public: TCString Reply; }; - +// _ad must be allocated using "new CAutoreplyData()" void __cdecl AutoreplyDelayThread(void *_ad) -{ // _ad must be allocated using "new CAutoreplyData()" +{ CAutoreplyData *ad = (CAutoreplyData*)_ad; _ASSERT(ad && ad->hContact && ad->Reply.GetLen()); char *szProto = GetContactProto(ad->hContact); @@ -66,7 +66,7 @@ void __cdecl AutoreplyDelayThread(void *_ad) DBEVENTINFO dbeo = { 0 }; dbeo.cbSize = sizeof(dbeo); dbeo.eventType = EVENTTYPE_MESSAGE; - dbeo.flags = DBEF_SENT; + dbeo.flags = DBEF_SENT | DBEF_UTF; dbeo.szModule = szProto; dbeo.timestamp = time(NULL); -- cgit v1.2.3