summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-03-02 07:47:01 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-03-02 07:47:01 +0000
commit8551a2e6a8e9e1f75056ddfdd6e0ae83f1845647 (patch)
treecdc367f19768c5d4169bdb815d21988e2667f971 /protocols/VKontakte/src/misc.cpp
parentb6c1c9f09ada59b7f363b9f51e4a29fc15a7de37 (diff)
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
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp9
1 files changed, 8 insertions, 1 deletions
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;