Hi, I noticed that the OMEMO XEP, at section 4.7, states: "If the OMEMO element contains a <payload>, it is an OMEMO message element. [...] If it succeeds, the decrypted contents are treated as the <body> of the received message."
Unless I missed something, the XEP allows only for encrypted text from the <body>. What if I want to encrypt a whole stanza, e.g. for including other information such as delivery receipt requests, out-of-band data, or anything else that might be worthy of encryption. I could just feed the XML string to the OMEMO library and then parse the XML on the other side, but - besides probably being not compatible with the implementations currently out there - I'd like to know how this could be addressed in XEP compliance terms. Thank you -- Daniele _______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
