summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_contacts.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_contacts.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_contacts.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_contacts.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp
index 174cc0e7fd..c4aecd4825 100644
--- a/protocols/SkypeWeb/src/skype_contacts.cpp
+++ b/protocols/SkypeWeb/src/skype_contacts.cpp
@@ -176,7 +176,7 @@ void CSkypeProto::LoadContactsInfo(const NETLIBHTTPREQUEST *response)
{
UpdateProfileCountry(item, hContact);
UpdateProfileCity(item, hContact);
- UpdateProfileStatusMessage(item, hContact);
+ UpdateProfileXStatusMessage(item, hContact);
}
}
}
@@ -249,6 +249,11 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response)
if (last_name)
setTString(hContact, "LastName", last_name);
+ if (item["mood"])
+ {
+ db_set_s(hContact, "CList", "StatusMsg", ptrA(RemoveHtml(ptrA(mir_utf8decodeA(item["mood"].as_string().c_str())))));
+ }
+
SetAvatarUrl(hContact, avatar_url);
ReloadAvatarInfo(hContact);