SleekXMPP icon indicating copy to clipboard operation
SleekXMPP copied to clipboard

How to add custom elements to <message>?

Open sammyraul opened this issue 7 years ago • 0 comments

Hello, I am looking forward to adding custom elements to my message. For example something like this

<message to="" from="" xml:lang="en">
<body>Hello</body>
<time></time>
</message>

Do I have to write a custom plugin for this? Using message object inside my class and adding xml elements to it does not work? Any pointers would be really helpful

Thanks,

sammyraul avatar Oct 05 '17 09:10 sammyraul