Open sgofferj opened 1 year ago
Have you tried using the msg.formatted_payload
input option for send message? With that you set msg.payload
to the plain text version and msg.formatted_payload
to the HTML version. Otherwise it uses msg.payload
for both which may not be the best case..
We may need to update it so if you send an HTML message you must specify both.
Ah, I haven't. There's no input field for that, so I kinda missed that it's available.
I noticed that when sending an HTML messages with this module, the HTML source appears in the notification on Element Android. I think, the message might not be generated properly. HTML messages should still contain the plain text like this:
When I send a message with CURL like this, the Android notification contains the plain text and the chat message appears as rendered HTML. I haven't done a deep-dive into the source code but I assume you put the HTML source also in the body item?