diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-17 16:33:32 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-17 16:33:32 +0000 |
commit | cebf5d329dcf0a441350a505882382a7094c0f3e (patch) | |
tree | 05a6bfae4e728e66ee3abb03e630544e1b3a975b /protocols/VKontakte/src/misc.cpp | |
parent | 55b1f7fafef7085638c4c8604b248bbe9fe08124 (diff) |
VKontakte:
add change nick in muc support
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index bc1bcbe504..3012278540 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -420,6 +420,18 @@ CMString CVkProto::RunConfirmationCode() return (!EnterString(&pForm)) ? CMString() : CMString(ptrT(pForm.ptszResult));
}
+CMString CVkProto::RunRenameNick(LPCTSTR ptszOldName)
+{
+ ENTER_STRING pForm = { sizeof(pForm) };
+ pForm.type = ESF_COMBO;
+ pForm.recentCount = 0;
+ pForm.caption = TranslateT("Enter new nickname");
+ pForm.ptszInitVal = ptszOldName;
+ pForm.szModuleName = m_szModuleName;
+ pForm.szDataPrefix = "renamenick_";
+ return (!EnterString(&pForm)) ? CMString() : CMString(ptrT(pForm.ptszResult));
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
void CVkProto::GrabCookies(NETLIBHTTPREQUEST *nhr)
|