diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-29 12:53:50 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-29 12:53:50 +0300 |
commit | 7b69f626542092044e9a0372b4bb7a977d0130a5 (patch) | |
tree | d8265342a6024186815633da5c501903f9d26e08 /src/core | |
parent | 024c78cab1ced5313e1dbd9a2841e7cf4cd8ead4 (diff) |
Revert "fix: reply ids are not written for the outgoing messages"
This reverts commit 0b942877182ed44ad8cb064118d1468e21a89b6b.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/cmdlist.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/stdmsg/src/cmdlist.cpp b/src/core/stdmsg/src/cmdlist.cpp index c43a699858..ab90a67a1f 100644 --- a/src/core/stdmsg/src/cmdlist.cpp +++ b/src/core/stdmsg/src/cmdlist.cpp @@ -89,7 +89,6 @@ void msgQueue_processack(MCONTACT hContact, int id, BOOL success, LPARAM lParam) return;
}
- char buf[100];
DBEVENTINFO dbei = {};
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.flags = DBEF_SENT | DBEF_UTF | (p->flags & DBEF_RTL ? DBEF_RTL : 0);
@@ -98,10 +97,6 @@ void msgQueue_processack(MCONTACT hContact, int id, BOOL success, LPARAM lParam) dbei.cbBlob = (uint32_t)(mir_strlen(p->szMsg) + 1);
dbei.pBlob = p->szMsg;
dbei.szId = (char *)lParam;
- if (p->hEvent) {
- itoa(p->hEvent, buf, 10);
- dbei.szReplyId = buf;
- }
MessageWindowEvent evt = { id, hContact, &dbei };
NotifyEventHooks(g_chatApi.hevPreCreate, 0, (LPARAM)&evt);
|