summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-12-16 05:12:06 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-12-16 05:12:06 +0000
commitf5718dda9247abb9e735fbf60e975d6d0662363a (patch)
tree8f4f278a74c66baece5b3fe0f03946468fcdb4b5 /protocols/VKontakte/src/vk_proto.cpp
parentcba46ca020f4bd0336b5a8e32b603190c553599f (diff)
VKontakte:
vk feeds support (wall) – part 2 version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11443 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 6238e399a5..5786d5aa0e 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -79,6 +79,7 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
szListeningTo += "Enabled";
db_set_b(NULL, "ListeningTo", szListeningTo.GetBuffer(), m_iMusicSendMetod == 0 ? 0 : 1);
m_bNewsEnabled = getBool("NewsEnabled", false);
+ m_bNotificationsEnabled = getBool("NotificationsEnabled", false);
m_bBBCOnNews = getBool("BBCOnNews", false);
m_iNewsInterval = getDword("NewsInterval", 15);
@@ -424,8 +425,10 @@ int CVkProto::SendMsg(MCONTACT hContact, int flags, const char *msg)
if (!IsOnline())
return 0;
LONG userID = getDword(hContact, "ID", -1);
- if (userID == -1 || userID == VK_FEED_USER)
+ if (userID == -1 || userID == VK_FEED_USER){
+ ForkThread(&CVkProto::SendMsgAck, new TFakeAckParams(hContact, 0));
return 0;
+ }
ptrA szMsg;
if (flags & PREF_UTF)