summaryrefslogtreecommitdiff
path: root/plugins/simple_notify.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-02-22 01:11:57 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-02-22 01:11:57 +0100
commita64dd02118630365cf55a4e8dd90429f1ef49a0f (patch)
treef4bfc1ea8e52cf6858a460080107a9944007eb54 /plugins/simple_notify.py
parent9240bc396465817c6387de5392f6dc2d429a8bd7 (diff)
downloadpoezio-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.py4
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()