summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/stdmsg/src/cmdlist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/cmdlist.cpp b/src/core/stdmsg/src/cmdlist.cpp
index aba0d79f1e..1da554d739 100644
--- a/src/core/stdmsg/src/cmdlist.cpp
+++ b/src/core/stdmsg/src/cmdlist.cpp
@@ -103,6 +103,8 @@ void msgQueue_processack(MCONTACT hContact, int id, BOOL success, const char *sz
MessageWindowEvent evt = { sizeof(evt), id, hContact, &dbei };
NotifyEventHooks(hHookWinWrite, 0, (LPARAM)&evt);
+ p->szMsg = (char*)dbei.pBlob;
+
db_event_add(hContact, &dbei);
mir_free(p->szMsg);