diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-21 11:33:20 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-21 11:33:20 +0000 |
commit | 79d1080c7515ca36601455f5fffcd39f3bd025cf (patch) | |
tree | 69f420e1d346ebae7b634a010d58ebd332842fdf | |
parent | 5af0b0b4849840188d6b366146fa98c7883c714c (diff) |
SkypeWeb: Messages duplicating fix(?)2.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13003 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index cbaed0eba3..54349181ec 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -231,8 +231,8 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) int hMessage = atoi(clientMsgId);
ProtoBroadcastAck(hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, (HANDLE)hMessage, 0);
debugLogA(__FUNCTION__" timestamp = %d clientmsgid = %s", timestamp, clientMsgId);
- if (GetMessageFromDb(hContact, clientMsgId) == NULL)
- AddMessageToDb(hContact, timestamp, DBEF_UTF | DBEF_SENT, clientMsgId, message, emoteOffset);
+ AddMessageToDb(hContact, timestamp, DBEF_UTF | DBEF_SENT, clientMsgId, message, emoteOffset);
+ return;
}
debugLogA(__FUNCTION__" timestamp = %d clientmsgid = %s", timestamp, clientMsgId);
MEVENT dbevent = GetMessageFromDb(hContact, skypeEditedId);
|