summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_profile.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-07-08 13:06:23 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-07-08 13:06:23 +0000
commitffa630d14ab6b2af9f6a28fb7932fd0917e90d53 (patch)
treefc7dd70c8da923c8320da7eaa44b9b009d1dfdd0 /protocols/SkypeWeb/src/skype_profile.cpp
parentd8582c90a901c0582e65f378376d9e0a66a413aa (diff)
SkypeWeb: fix status messages in clist
git-svn-id: http://svn.miranda-ng.org/main/trunk@17080 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_profile.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_profile.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/SkypeWeb/src/skype_profile.cpp b/protocols/SkypeWeb/src/skype_profile.cpp
index 0a9bffa133..a7f5d33608 100644
--- a/protocols/SkypeWeb/src/skype_profile.cpp
+++ b/protocols/SkypeWeb/src/skype_profile.cpp
@@ -419,18 +419,6 @@ void CSkypeProto::UpdateProfilePhoneOffice(const JSONNode &root, MCONTACT hConta
delSetting(hContact, "CompanyPhone");
}
-void CSkypeProto::UpdateProfileStatusMessage(const JSONNode &root, MCONTACT hContact)
-{
- if (hContact == NULL)
- return;
-
- CMString province = root["mood"].as_mstring();
- if (!province.IsEmpty() && province != "null")
- db_set_ts(hContact, "CList", "StatusMsg", province);
- else
- db_unset(hContact, "CList", "StatusMsg");
-}
-
void CSkypeProto::UpdateProfileXStatusMessage(const JSONNode &root, MCONTACT hContact)
{
CMString province = root["richMood"].as_mstring();
@@ -481,9 +469,6 @@ void CSkypeProto::LoadProfile(const NETLIBHTTPREQUEST *response)
UpdateProfilePhoneMobile(root, hContact);
UpdateProfilePhoneHome(root, hContact);
UpdateProfilePhoneOffice(root, hContact);
- UpdateProfileStatusMessage(root, hContact);
//richMood
UpdateProfileAvatar(root, hContact);
-
- setString(hContact, "StatusMsg", root["mood"].as_string().c_str());
}