From c89e8a054ac888b27065916ffde96af73404228c Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 4 Apr 2015 20:10:50 +0000 Subject: SkypeWeb: - history sync (patch from MikalaiR) - refactored message sending git-svn-id: http://svn.miranda-ng.org/main/trunk@12599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_poll_processing.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_poll_processing.cpp') diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp index 24baf6f8e1..e2f0f6c0de 100644 --- a/protocols/SkypeWeb/src/skype_poll_processing.cpp +++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp @@ -86,7 +86,7 @@ void CSkypeProto::ProcessNewMessageRes(JSONNODE *node) char *convname; if (strstr(conversationLink, "/19:")) { - const char *chatname, *topic; + const char *chatname; chatname = ContactUrlToName(conversationLink); convname = mir_strdup(chatname); return; //chats not supported @@ -100,7 +100,8 @@ void CSkypeProto::ProcessNewMessageRes(JSONNODE *node) } else if (!mir_strcmpi(messagetype, "Control/ClearTyping")) { - return; + MCONTACT hContact = GetContact(ContactUrlToName(from)); + CallService(MS_PROTO_CONTACTISTYPING, hContact, 0); } else if (!mir_strcmpi(messagetype, "Text") || !mir_strcmpi(messagetype, "RichText")) { -- cgit v1.2.3