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:
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: