diff options
author | ElzorFox <elzorfox@ya.ru> | 2023-11-24 12:11:03 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2023-11-24 12:11:03 +0500 |
commit | 3b04426eafa69722f2ef95eca031b15c3b462346 (patch) | |
tree | 977ba7a0b00a58ac034a5771dabd9306db9ff990 | |
parent | b10c1892789a4de5b8615b8d54394d5ee9cd6ca3 (diff) |
VKontakte: code cleaning
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 14a7027d4c..46a30b070c 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -489,8 +489,6 @@ void CVkProto::OnReceiveDlgs(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) MarkMessagesRead(hContact);
}
- const JSONNode& jnCanWrite = jnConversation["can_write"];
-
if (jnConversation["can_write"] && jnConversation["can_write"]["allowed"])
Contact::Readonly(hContact, !jnConversation["can_write"]["allowed"].as_bool());
|