summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_messages.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-05-14 20:52:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-05-14 20:52:44 +0000
commitb28379050fa05a1a6642548d9d31c4d7d2779815 (patch)
treefd93a62553e590851c22775ac15703af9efd6734 /protocols/Skype/src/skype_messages.cpp
parent7babc5212cc846d2a7d1ffa964663dea497d3ef4 (diff)
- added contact sending (via SendReceiveContacts) and receiving
- some few bug fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@4653 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_messages.cpp')
-rw-r--r--protocols/Skype/src/skype_messages.cpp6
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)&param;
recv.timestamp = timestamp;
recv.szMessage = ::mir_strdup(text);