diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-10 03:19:53 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-10 03:19:53 +0000 |
commit | 59fa9f2974052c39bd2e572874ff62cfdcc3d8e4 (patch) | |
tree | 7f24ffefdbca5367a43188c92ac8a048d3b4be61 /protocols/VKontakte/src/vk_thread.cpp | |
parent | f59c5ef32703780535d23e6c770a02d9140d8b1e (diff) |
VKontakte: add hompage clist icon support
git-svn-id: http://svn.miranda-ng.org/main/trunk@11313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index b8be081719..3cd6ca13fb 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -365,8 +365,12 @@ MCONTACT CVkProto::SetContactInfo(JSONNODE* pItem, bool flag, bool self) setTString(hContact, "About", tszValue.GetBuffer());
tszValue = json_as_string(json_get(pItem, "domain"));
- if (!tszValue.IsEmpty())
+ if (!tszValue.IsEmpty()){
setTString(hContact, "domain", tszValue.GetBuffer());
+ CMString tszUrl("https://vk.com/");
+ tszUrl.Append(tszValue);
+ setTString(hContact, "Homepage", tszUrl.GetBuffer());
+ }
return hContact;
}
|