summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_chats.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-11-07 08:28:49 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-11-07 08:28:49 +0000
commit57a898e4486ab7e3120f21b1deab5f030b8e8b5b (patch)
treeb4da1038da5cfd556547ddbcd638a7a82c144032 /protocols/VKontakte/src/vk_chats.cpp
parentde03f80b99cb8560ffb59d065e72c8aa8af160dc (diff)
VKontakte: add homepage for muc
git-svn-id: http://svn.miranda-ng.org/main/trunk@15694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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()) {