diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-05-10 17:11:05 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-05-10 17:11:05 +0000 |
commit | 9403f94a71782e106d29f1ca2df5aa682ea3f746 (patch) | |
tree | 8a7ee36aa1f57295209f50f9044c679a248a9fab /protocols/Skype/src/skype_database.cpp | |
parent | b94dc989d9eba4bcbf255421b84d1803cbfd0bc1 (diff) |
- added skype emote support (/me chat command)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4623 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_database.cpp')
-rw-r--r-- | protocols/Skype/src/skype_database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp index d7e010d125..67853c73b3 100644 --- a/protocols/Skype/src/skype_database.cpp +++ b/protocols/Skype/src/skype_database.cpp @@ -17,7 +17,7 @@ bool CSkypeProto::IsMessageInDB(HANDLE hContact, DWORD timestamp, SEBinary &guid break;
int sendFlag = dbei.flags & DBEF_SENT;
- if (dbei.eventType == EVENTTYPE_MESSAGE && sendFlag == flag)
+ if ((dbei.eventType == EVENTTYPE_MESSAGE || dbei.eventType == SKYPE_DB_EVENT_TYPE_EMOTE) && sendFlag == flag)
if (::memcmp(&dbei.pBlob[dbei.cbBlob - guid.size()], guid.data(), guid.size()) == 0)
return true;
}
@@ -118,7 +118,7 @@ void CSkypeProto::RaiseMessageSentEvent(HANDLE hContact, DWORD timestamp, SEBina this->AddDBEvent(
hContact,
- EVENTTYPE_MESSAGE,
+ EVENTTYPE_MESSAGE,
timestamp,
flags,
msgLen + guidLen,
|