From 6d19086e4193e3f3a3272921551d30f23f485879 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 9 Apr 2015 11:37:40 +0000 Subject: SkypeWeb: Small fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@12693 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_poll_processing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp index e55a080fb8..806e25430d 100644 --- a/protocols/SkypeWeb/src/skype_poll_processing.cpp +++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp @@ -116,7 +116,7 @@ void CSkypeProto::ProcessNewMessageRes(JSONNODE *node) MCONTACT hContact = GetContact(skypename); if (hContact == NULL && !IsMe(skypename)) - AddContact(skypename, true); + hContact = AddContact(skypename, true); if (!mir_strcmpi(messageType, "Control/Typing")) { @@ -169,7 +169,7 @@ void CSkypeProto::ProcessConversationUpdateRes(JSONNODE *node) MCONTACT hContact = GetContact(skypename); if (hContact == NULL && !IsMe(skypename)) - AddContact(skypename, true); + hContact = AddContact(skypename, true); if (!mir_strcmpi(messageType, "Control/Typing")) { -- cgit v1.2.3