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@gmail.com>2016-01-10 17:52:47 +0300
committerJohn Smith <mrdoctorwho@gmail.com>2016-01-10 17:52:47 +0300
commit822c79d257a0efdbf1ae9cfad4685fa88c836798 (patch)
treec5ad27605aae975a5e4b9b8ebbf4c184eaed772b /modules
parent9ff35f9acd823b1d47284fa9aa7a310347f00ff9 (diff)
Fix unexpected argument error in mod_msg_main
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_msg_main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_msg_main.py b/modules/mod_msg_main.py
index 0d86910..b59a277 100644
--- a/modules/mod_msg_main.py
+++ b/modules/mod_msg_main.py
@@ -41,7 +41,7 @@ def acceptCaptcha(key, source, destination):
else:
logger.debug("retry for user %s successed!" % source)
answer = _("Captcha valid.")
- sendPresence(source, TransportID, caps=True)
+ sendPresence(source, TransportID, hash=TRANSPORT_CAPS_HASH)
sendMessage(source, destination, answer, mtype="normal")
if not valid: