diff options
Diffstat (limited to 'protocols/Skype/src/skype_messages.cpp')
-rw-r--r-- | protocols/Skype/src/skype_messages.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp index 356224f5fd..ce8917d1db 100644 --- a/protocols/Skype/src/skype_messages.cpp +++ b/protocols/Skype/src/skype_messages.cpp @@ -65,8 +65,12 @@ void CSkypeProto::OnMessageReceived(const ConversationRef &conversation, const M if (this->IsMessageInDB(hContact, timestamp, guid))
return;
+ DWORD flags = PREF_UTF;
+ if (status != CMessage::UNCONSUMED_NORMAL)
+ flags |= PREF_CREATEREAD;
+
PROTORECVEVENT recv;
- recv.flags = PREF_UTF;
+ recv.flags = flags;
recv.lParam = (LPARAM)¶m;
recv.timestamp = timestamp;
recv.szMessage = ::mir_strdup(text);
|