diff options
author | ElzorFox <elzorfox@ya.ru> | 2018-05-29 22:33:21 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2018-05-29 22:33:21 +0500 |
commit | 5b9883ca20f51af4faad309212033cc5bb5e4cbc (patch) | |
tree | cf0ac165c02dbd0817b8b82ff97bef432684100e /protocols/VKontakte/src/vk_proto.cpp | |
parent | 05e608baf114e5c07fec62b2c5cadc7f73efb7b2 (diff) |
VKontakte: additional fix for #1392
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 135c4a9fa7..1c0c9be6e5 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -624,6 +624,9 @@ int CVkProto::UserIsTyping(MCONTACT hContact, int type) if (userID == VK_INVALID_USER || !IsOnline() || userID == VK_FEED_USER)
return 1;
+ if (!IsEmpty(ptrW(db_get_wsa(hContact, m_szModuleName, "Deactivated"))))
+ return 1;
+
if (m_vkOptions.iMarkMessageReadOn == MarkMsgReadOn::markOnTyping)
MarkMessagesRead(hContact);
|