diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index c313dec4d5..2994ef3967 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -243,13 +243,13 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) if (isEdited && dbevent != NULL)
{
DBEVENTINFO dbei = { sizeof(dbei) };
+ CMStringA msg;
db_event_get(dbevent, &dbei);
time_t dbEventTimestamp = dbei.timestamp;
- if (!getByte("SaveEditedMessage", 0))
- {
- db_event_delete(hContact, dbevent);
- }
- OnReceiveMessage(clientMsgId, from, dbEventTimestamp + 1, message, emoteOffset);
+ ptrA dbMsgText((char *)mir_alloc(dbei.cbBlob));
+ msg.AppendFormat("%s\n%s [%s]:\n%s", dbMsgText, Translate("Edited at"), ptrA(mir_t2a(composeTime)), message);
+ db_event_delete(hContact, dbevent);
+ OnReceiveMessage(clientMsgId, from, dbEventTimestamp, msg.GetBuffer(), emoteOffset);
}
else
OnReceiveMessage(clientMsgId, from, timestamp, message, emoteOffset);
|