diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-05 13:19:05 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-05 13:19:05 +0000 |
commit | 5413f05df37646178533a24f80e0e0238982af36 (patch) | |
tree | 48543bbd8a7da65d3b96e6edbffa6666a5241c47 /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | afd403fdba7bed624cfc03d6053bab370f4bf9db (diff) |
SkypeWeb: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)))
|