summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_profile.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 15:26:00 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 15:26:00 +0000
commit67e48bab6bddbf7f875ae2ecd573d6e7c8ab786d (patch)
tree32de583c93dd228c75b4cceb34bf4f6fed4edcfa /protocols/SkypeWeb/src/skype_profile.cpp
parent956cc415d60eb799420727bb1fa156ee20d00684 (diff)
SkypeWeb: Status messages support.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12741 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_profile.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_profile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_profile.cpp b/protocols/SkypeWeb/src/skype_profile.cpp
index 3290041229..b566c50b63 100644
--- a/protocols/SkypeWeb/src/skype_profile.cpp
+++ b/protocols/SkypeWeb/src/skype_profile.cpp
@@ -429,9 +429,9 @@ void CSkypeProto::UpdateProfileStatusMessage(JSONNODE *root, MCONTACT hContact)
JSONNODE *node = json_get(root, "mood");
CMString province = mir_t2a(ptrT(json_as_string(node)));
if (!province.IsEmpty() && province != "null")
- setTString(hContact, "StatusMsg", province);
+ db_set_ts(hContact, "CList", "StatusMsg", province);
else
- delSetting(hContact, "StatusMsg");
+ db_unset(hContact, "CList", "StatusMsg");
}
void CSkypeProto::UpdateProfileXStatusMessage(JSONNODE *root, MCONTACT hContact)