diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-31 13:20:44 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-31 13:20:44 +0000 |
commit | 4e0246d2fdb10e8c6ab3b66fc364accedfea07cd (patch) | |
tree | d6e4ff151eafc60bc6cf793f0a2fb5e9775e730a /protocols/VKontakte/src/misc.cpp | |
parent | 47e0a9be59f5292a13af0a316ba4cda60ad3844a (diff) |
VKontakte: ‘Validation Required’ error support
git-svn-id: http://svn.miranda-ng.org/main/trunk@15656 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 8d1661fcc4..7285cbe74d 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -271,6 +271,9 @@ bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, const JSONNode &jnNode) case VKERR_CAPTCHA_NEEDED:
ApplyCaptcha(pReq, jnError);
break;
+ case VKERR_VALIDATION_REQUIRED: // Validation Required
+ MsgPopup(NULL, TranslateT("You must validate your account before use VK in Miranda NG"), TranslateT("Error"), true);
+ break;
case VKERR_FLOOD_CONTROL:
pReq->m_iRetry = 0;
// fall through
|