diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-08-16 09:49:37 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-08-16 09:49:37 +0500 |
commit | 82de47fcf58844fc1d1e5ec99581375a379da49c (patch) | |
tree | 383eb1a4cf0036db74d2f6b39964bb4393ba0f08 | |
parent | f860bd6b53d93afdd2b0c19389deb0b012cf34a1 (diff) |
VKontakte:
add hidden contact option ShowVkDeactivateEvents (default true)
update VK_API to 5.68
version bump
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/version.h | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index fc64fcaf8c..0d83903daf 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -1511,7 +1511,7 @@ void CVkProto::AddVkDeactivateEvent(MCONTACT hContact, CMStringW& wszType) dbei.eventType = VK_USER_DEACTIVATE_ACTION;
dbei.cbBlob = (DWORD)mir_strlen(vkDeactivateEvent[iDEIdx].szDescription) + 1;
dbei.pBlob = (PBYTE)mir_strdup(vkDeactivateEvent[iDEIdx].szDescription);
- dbei.flags = DBEF_UTF | (m_vkOptions.bShowVkDeactivateEvents ? 0 : DBEF_READ);
+ dbei.flags = DBEF_UTF | ((m_vkOptions.bShowVkDeactivateEvents && getBool(hContact, "ShowVkDeactivateEvents", true)) ? 0 : DBEF_READ);
db_event_add(hContact, &dbei);
}
diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h index 5a248e63cc..a11990be5a 100644 --- a/protocols/VKontakte/src/version.h +++ b/protocols/VKontakte/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 2
-#define __BUILD_NUM 21
+#define __BUILD_NUM 22
#include <stdver.h>
diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h index 4305a226e4..2f93e42f32 100644 --- a/protocols/VKontakte/src/vk.h +++ b/protocols/VKontakte/src/vk.h @@ -85,7 +85,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VK_USER_DEACTIVATE_ACTION 9321
-#define VK_API_VER "5.67"
+#define VK_API_VER "5.68"
#define VER_API CHAR_PARAM("v", VK_API_VER)
#define VK_FEED_USER 2147483647L
|