diff options
author | George Hazan <ghazan@miranda.im> | 2019-11-01 11:53:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-11-01 11:53:51 +0300 |
commit | 2a74ebc02a6fbd049eae161e458fdbf3b1b7a374 (patch) | |
tree | 2cbe0a3b52a28be86b5f70e664012256164b2c87 /protocols | |
parent | 756fa05b6d7a14441d0f9b8d97dbdb4f9df34918 (diff) |
fixes #2110 (fake messages should look like send ones, not received)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_ft.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 7558861bc2..44e9a3b376 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -721,7 +721,7 @@ void CIcqProto::OnFileContinue(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pOld // Send the same message to myself T2Utf msgText(wszUrl); PROTORECVEVENT recv = {}; - recv.flags = PREF_CREATEREAD; + recv.flags = PREF_CREATEREAD | PREF_SENT; recv.szMessage = msgText; recv.timestamp = time(0); ProtoChainRecvMsg(pTransfer->pfts.hContact, &recv); diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp index a543800df8..6923a52ac9 100644 --- a/protocols/JabberG/src/jabber_ft.cpp +++ b/protocols/JabberG/src/jabber_ft.cpp @@ -625,7 +625,7 @@ LBL_Fail: if (ProtoChainSend(ft->std.hContact, PSS_MESSAGE, 0, (LPARAM)szGetUrl) != -1) {
PROTORECVEVENT recv = {};
- recv.flags = PREF_CREATEREAD;
+ recv.flags = PREF_CREATEREAD | PREF_SENT;
recv.szMessage = (char*)szGetUrl;
recv.timestamp = time(0);
ProtoChainRecvMsg(ft->std.hContact, &recv);
|