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 /gateway.py
parent4636358a6b45f3631c0244d0610067f25b6c5469 (diff)
Fix AccessDenied in mod_msg_main
Diffstat (limited to 'gateway.py')
-rw-r--r--gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway.py b/gateway.py
index 3ba8e38..6dca17b 100644
--- a/gateway.py
+++ b/gateway.py
@@ -366,7 +366,7 @@ class VK(object):
except api.NotAllowed as e:
if self.engine.lastMethod[0] == "messages.send":
sendMessage(self.source,
- vk2xmpp(args.get("uid", TransportID)),
+ vk2xmpp(args.get("user_id", TransportID)),
_("You're not allowed to perform this action."))
except api.VkApiError as e: