Commit 1a2bea66 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[sgala] fix wrong tag name. See #316

parent 7868edb0
......@@ -399,7 +399,7 @@ class Message(Protocol):
return self.getTagData('body')
def getXHTML(self):
""" Returns serialized xhtml-im body text of the message. """
xhtml = self.getTag('xhtml')
xhtml = self.getTag('html')
return str(xhtml.getTag('body'))
def getSubject(self):
""" Returns subject of the message. """
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment