From 7b69f626542092044e9a0372b4bb7a977d0130a5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Mar 2024 12:53:50 +0300 Subject: Revert "fix: reply ids are not written for the outgoing messages" This reverts commit 0b942877182ed44ad8cb064118d1468e21a89b6b. --- plugins/TabSRMM/src/sendqueue.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index 8bb84faa2c..fe4d158e73 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -457,7 +457,6 @@ int SendQueue::ackMessage(CMsgDialog *dat, WPARAM wParam, LPARAM lParam) return 0; } - char buf[100]; DBEVENTINFO dbei = {}; dbei.eventType = EVENTTYPE_MESSAGE; dbei.flags = DBEF_SENT | DBEF_UTF; @@ -476,10 +475,6 @@ int SendQueue::ackMessage(CMsgDialog *dat, WPARAM wParam, LPARAM lParam) dbei.flags |= DBEF_RTL; dbei.pBlob = job.szSendBuffer; dbei.szId = (char *)ack->lParam; - if (job.hEvent) { - itoa(job.hEvent, buf, 10); - dbei.szReplyId = buf; - } MessageWindowEvent evt = { job.iSendId, job.hContact, &dbei }; NotifyEventHooks(g_chatApi.hevPreCreate, 0, (LPARAM)&evt); -- cgit v1.2.3