From 8551a2e6a8e9e1f75056ddfdd6e0ae83f1845647 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Mon, 2 Mar 2015 07:47:01 +0000 Subject: VKontakte: wall.post support - part 2 (complete) version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12297 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/misc.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/misc.cpp') diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 63bdf935e2..1be32e9de0 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -79,7 +79,8 @@ static IconItem iconList[] = { LPGEN("Report abuse icon"), "abuse", IDI_ABUSE }, { LPGEN("Ban user icon"), "ban", IDI_BAN }, { LPGEN("Broadcast icon"), "broadcast", IDI_BROADCAST }, - { LPGEN("Status icon"), "status", IDI_STATUS } + { LPGEN("Status icon"), "status", IDI_STATUS }, + { LPGEN("Wall message icon"), "wall", IDI_WALL } }; void InitIcons() @@ -377,6 +378,12 @@ bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, JSONNODE *pNode) if (param) param->iCount = iErrorCode; break; + case VKERR_INVALID_PARAMETERS: + MsgPopup(NULL, TranslateT("One of the parameters specified was missing or invalid"), TranslateT("Error"), true); + break; + case VKERR_ACC_WALL_POST_DENIED: + MsgPopup(NULL, TranslateT("Access to adding post denied"), TranslateT("Error"), true); + break; } return iErrorCode == 0; -- cgit v1.2.3