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 'extensions/forwarded_messages.py')
-rw-r--r--extensions/forwarded_messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/forwarded_messages.py b/extensions/forwarded_messages.py
index 43148b6..24c3fa8 100644
--- a/extensions/forwarded_messages.py
+++ b/extensions/forwarded_messages.py
@@ -22,7 +22,7 @@ def parseForwardedMessages(self, msg, depth=0):
date = fwd["date"]
fwdBody = escape("", uhtml(compile_eol.sub("\n" + spacer + BASE_SPACER, fwd["body"])))
date = datetime.fromtimestamp(date).strftime("%d.%m.%Y %H:%M:%S")
- name = self.vk.getUserData(source)["name"]
+ name = self.vk.getUserData(source, notoken=True)["name"]
body += "\n%s[%s] <%s> %s" % (spacer + BASE_SPACER, date, name, fwdBody)
body += parseAttachments(self, fwd, spacer + (BASE_SPACER * 2))
if depth < MAXIMUM_FORWARD_DEPTH: