diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-29 20:36:02 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-29 20:36:02 +0200 |
commit | ba02b51554e2125d54de4b748838b9b0495df1e4 (patch) | |
tree | b8ae8f53c89898abbd3220c8aaeb2f74a89b4802 /src/tabs.py | |
parent | a0248d4324faec7fd3d3ef0bee1f9cf86a33c08e (diff) | |
download | poezio-ba02b51554e2125d54de4b748838b9b0495df1e4.tar.gz poezio-ba02b51554e2125d54de4b748838b9b0495df1e4.tar.bz2 poezio-ba02b51554e2125d54de4b748838b9b0495df1e4.tar.xz poezio-ba02b51554e2125d54de4b748838b9b0495df1e4.zip |
Convert html markup received in xhtml_im elements to poezio colors
and use that as the body
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index b7624c2b..e3bea971 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -557,6 +557,7 @@ class MucTab(ChatTab): msg = self.core.xmpp.make_message(self.get_name()) msg['type'] = 'groupchat' msg['body'] = line + msg['xhtml_im'] = "<body><p>coucou</p></body>" if config.get('send_chat_states', 'true') == 'true' and self.remote_wants_chatstates is not False: msg['chat_state'] = 'active' msg.send() |