summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp6
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;
}