2 SleekXMPP: The Sleek XMPP Library
3 Copyright (C) 2010 Nathanael C. Fritz
4 This file is part of SleekXMPP.
6 See the file LICENSE for copying permission.
9 from sleekxmpp
.stanza
import Message
10 from sleekxmpp
.xmlstream
import register_stanza_plugin
11 from sleekxmpp
.plugins
.xep_0071
import XHTML_IM
as HTMLIM
14 register_stanza_plugin(Message
, HTMLIM
)
17 # To comply with PEP8, method names now use underscores.
18 # Deprecated method names are re-mapped for backwards compatibility.
19 HTMLIM
.setBody
= HTMLIM
.set_body
20 HTMLIM
.getBody
= HTMLIM
.get_body
21 HTMLIM
.delBody
= HTMLIM
.del_body