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:
authormrDoctorWho <mrdoctorwho@gmail.com>2015-01-28 10:01:32 +0300
committermrDoctorWho <mrdoctorwho@gmail.com>2015-01-28 10:01:32 +0300
commitb708870d3b83d6eead79d2ff94bcd3a797ca2e97 (patch)
tree81b2d246c50b4372ca0782f362d786c86a64f8af /modules/mod_xhtml.py
parent566d42a25066a178a799e55a7d4b0a0e274b0ac6 (diff)
Bunch of fixes:
* make old users leave from a chat (when they're not in the chat anymore) (fixed #75) * fixed receiving xhtml images (fixed #78) * transport will show up before user's initialized (fixed #77) * transport freeze fix (fixed #76) something more...
Diffstat (limited to 'modules/mod_xhtml.py')
-rw-r--r--modules/mod_xhtml.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mod_xhtml.py b/modules/mod_xhtml.py
index e581b06..2347284 100644
--- a/modules/mod_xhtml.py
+++ b/modules/mod_xhtml.py
@@ -1,9 +1,10 @@
# coding: utf-8
# This file is a part of VK4XMPP transport
-# © simpleApps, 2013 — 2014.
+# © simpleApps, 2013 — 2015.
from __main__ import *
from __main__ import _
+from __main__ import Component ## being missed somehow
import random
import urllib
@@ -40,7 +41,7 @@ def sendPhoto(user, data, type, address, mType):
else:
answer = _("Something went wrong. We are so sorry.")
if send:
- msgSend(Component, user.source, answer, destination, timestamp=1)
+ sendMessage(Component, user.source, destination, answer, timestamp=1)
def parseXHTML(user, html, source, destination, mType="user_id"):