From 5413f05df37646178533a24f80e0e0238982af36 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 5 Apr 2015 13:19:05 +0000 Subject: SkypeWeb: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_messages.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_messages.cpp') diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 6893feb2a3..577aef73cd 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -89,14 +89,14 @@ struct SendMessageParam // outcoming message flow int CSkypeProto::OnSendMessage(MCONTACT hContact, int flags, const char *szMessage) { - time_t timestamp = time(NULL); //InterlockedIncrement(&hMessageProcess); - if (!IsOnline()) { ProtoBroadcastAck(hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, NULL, (LPARAM)"You cannot send when you are offline."); return 0; } + time_t timestamp = time(NULL); //InterlockedIncrement(&hMessageProcess); + SendMessageParam *param = new SendMessageParam(); param->hContact = hContact; param->hMessage = (HANDLE)timestamp; @@ -201,7 +201,7 @@ void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response) bool isMe = IsMe(skypename); if (isMe) - flags |= DBEF_READ; + flags |= DBEF_SENT; MCONTACT hContact = IsMe(skypename) ? GetContact(ptrA(ContactUrlToName(conversationLink))) -- cgit v1.2.3