summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_chats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_chats.cpp')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index 7a08fbeca9..555d5fd06f 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -78,6 +78,10 @@ CVkChatInfo* CVkProto::AppendChat(int id, const JSONNode &jnDlg)
}
setDword(gci.hContact, "vk_chat_id", id);
+
+ CMString tszHomepage(FORMAT, _T("https://vk.com/im?sel=c%d"), id);
+ setTString(gci.hContact, "Homepage", tszHomepage);
+
db_unset(gci.hContact, m_szModuleName, "off");
if (jnDlg["left"].as_bool()) {