diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-01 07:20:01 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-01 07:20:01 +0000 |
commit | b181be1a3ee650535e11e93fa2f21c7bb7420d6e (patch) | |
tree | 720f044a2e735e374b8a30715f45b64e4e483694 /protocols | |
parent | b1db27c61150e1313a537d1de009ec26bae414ab (diff) |
VKontakte: crashfix on group invite
git-svn-id: http://svn.miranda-ng.org/main/trunk@13954 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index 518fa08935..2201b2577e 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -459,7 +459,7 @@ CVKNewsItem* CVkProto::GetVkGroupInvates(const JSONNode &jnItem, OBJLIST<CVkUser if (tszIds.Find(tszId, 0) != -1)
return NULL;
- LONG iUserId = jnItem["invited_by"] ? 0 : jnItem["invited_by"].as_int();
+ LONG iUserId = !jnItem["invited_by"] ? 0 : jnItem["invited_by"].as_int();
CVKNewsItem *vkNotification = new CVKNewsItem();
vkNotification->tDate = time(NULL);
vkNotification->vkUser = GetVkUserInfo(iUserId, vkUsers);
|