summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp2
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index 737779411b..f3134be484 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -107,7 +107,7 @@ void CVkProto::WorkerThread(void*)
<< CHAR_PARAM("redirect_uri", szBlankUrl)
<< CHAR_PARAM("display", "mobile")
<< CHAR_PARAM("response_type", "token")
- << VER_API)->m_bApiReq = false;;
+ << VER_API)->m_bApiReq = false;
}
while (true) {
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;
}