diff --git a/prometheus_xmpp/__main__.py b/prometheus_xmpp/__main__.py index 80b469b..c90872c 100755 --- a/prometheus_xmpp/__main__.py +++ b/prometheus_xmpp/__main__.py @@ -212,9 +212,7 @@ def message(self, msg): async def send_encrypted_message(self, mto, mtype, mbody, mhtml): - # TODO if mhtml ==> Stanza mhzml - msg_stanza = self.make_message(mto=mto, mtype=mtype) - msg_stanza["body"] = mbody + msg_stanza = self.make_message(mto=mto, mbody=mbody, mtype=mtype, mhtml=mhtml) msg_stanza.set_to(mto) msg_stanza.set_from(self.boundjid)