diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-02-22 01:11:57 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-02-22 01:11:57 +0100 |
commit | a64dd02118630365cf55a4e8dd90429f1ef49a0f (patch) | |
tree | f4bfc1ea8e52cf6858a460080107a9944007eb54 /plugins/simple_notify.py | |
parent | 9240bc396465817c6387de5392f6dc2d429a8bd7 (diff) | |
download | poezio-a64dd02118630365cf55a4e8dd90429f1ef49a0f.tar.gz poezio-a64dd02118630365cf55a4e8dd90429f1ef49a0f.tar.bz2 poezio-a64dd02118630365cf55a4e8dd90429f1ef49a0f.tar.xz poezio-a64dd02118630365cf55a4e8dd90429f1ef49a0f.zip |
Remove the dependency on poezio from xhtml.py
Diffstat (limited to 'plugins/simple_notify.py')
-rw-r--r-- | plugins/simple_notify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index a44a6902..f08fa259 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -65,7 +65,7 @@ Options defined """ from plugin import BasePlugin -from xhtml import clean_text, get_body_from_message_stanza +from xhtml import get_body_from_message_stanza from timed_events import DelayedEvent import shlex @@ -88,7 +88,7 @@ class Plugin(BasePlugin): self.do_notify(message, fro) def do_notify(self, message, fro): - body = clean_text(get_body_from_message_stanza(message)) + body = get_body_from_message_stanza(message, use_xhtml=False) if not body: return command_str = self.config.get('command', '').strip() |