summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_poll_processing.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-09 11:37:40 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-09 11:37:40 +0000
commit6d19086e4193e3f3a3272921551d30f23f485879 (patch)
tree78874399267e6ad6a8aa105f95c16dd0e36d720d /protocols/SkypeWeb/src/skype_poll_processing.cpp
parentc93fe41a1035d04132d54b45da8a3c638bfce59b (diff)
SkypeWeb: Small fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12693 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_poll_processing.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_poll_processing.cpp4
1 files 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"))
{