Skip to content

Commit

Permalink
add mhtml to send_encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
ichthyx committed Sep 26, 2024
1 parent eac3c8c commit 0fe945c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions prometheus_xmpp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0fe945c

Please sign in to comment.