Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@helldev.net>2018-08-03 16:59:50 +0300
committerJohn Smith <mrdoctorwho@helldev.net>2018-08-03 16:59:50 +0300
commita335639a6fe164d43ae81cfa3cb97fdd987795f0 (patch)
tree48594778eb59fcbef1ce68e60cee1c24e5846b3a /modules
parent4636358a6b45f3631c0244d0610067f25b6c5469 (diff)
Fix AccessDenied in mod_msg_main
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_msg_main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/mod_msg_main.py b/modules/mod_msg_main.py
index 2edc460..05171d2 100644
--- a/modules/mod_msg_main.py
+++ b/modules/mod_msg_main.py
@@ -64,8 +64,7 @@ def message_handler(cl, msg):
if msg.getTag("composing"):
target = vk2xmpp(destination)
if target != TransportID:
- with user.sync:
- user.vk.method("messages.setActivity", {"user_id": target, "type": "typing"}, True)
+ user.vk.method("messages.setActivity", {"user_id": target, "type": "typing"})
if body:
answer = None
if jidTo == TransportID: