summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_poll_processing.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-04 20:10:50 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-04 20:10:50 +0000
commitc89e8a054ac888b27065916ffde96af73404228c (patch)
tree5538dfdd531108fb653e107bc6ff54d1aea5a96d /protocols/SkypeWeb/src/skype_poll_processing.cpp
parent817c5f883a658c4abca078df852ad81f6ec7f861 (diff)
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
Diffstat (limited to 'protocols/SkypeWeb/src/skype_poll_processing.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_poll_processing.cpp5
1 files changed, 3 insertions, 2 deletions
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"))
{