summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-12-26 07:48:02 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-12-26 07:48:02 +0000
commit53e54f19ecbcd12202473505dd12cea27b453f2c (patch)
treeadce7986ea2f73d3b84c8a30939c5c71f8148431 /protocols/VKontakte/src/vk_proto.h
parentefee96cfd3e6318ed376363ab9781bd944940107 (diff)
VKontakte: add filtering by type and source content for news
git-svn-id: http://svn.miranda-ng.org/main/trunk@11642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 4c41ce0709..7355130c1c 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -193,7 +193,7 @@ struct CVKNewsItem : public MZeroedObject {
{
tDate = NULL;
vkUser = NULL;
- bIsGroup = bIsRepost = true;
+ bIsGroup = bIsRepost = false;
};
CMString tszId;
@@ -552,7 +552,17 @@ private:
m_bNewsEnabled,
m_bNotificationsEnabled,
m_bSpecialContactAlwaysEnabled,
- m_bNewsAutoClearHistory;
+ m_bNewsAutoClearHistory,
+ m_bNewsFilterPosts,
+ m_bNewsFilterPhotos,
+ m_bNewsFilterTags,
+ m_bNewsFilterWallPhotos,
+ m_bNewsSourceFriends,
+ m_bNewsSourceGroups,
+ m_bNewsSourcePages,
+ m_bNewsSourceFollowing,
+ m_bNewsSourceIncludeBanned,
+ m_bNewsSourceNoReposts;
int m_iNewsInterval, m_iNotificationsInterval, m_iNewsAutoClearHistoryInterval;