Add support for 'ofrom' type (XEP-33)

of Extended Stanza Addressing.

Fixes SMACK-626.
This commit is contained in:
Florian Schmaus 2015-01-10 11:33:59 +01:00
parent 7e4e3699a1
commit e4bc6c2f37
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,14 @@ public class MultipleAddresses implements PacketExtension {
replyroom,
replyto,
to,
/**
* The "original from" type used to indicate the real originator of the stanza.
* <p>
* This Extended Stanza Addressing type is not specified in XEP-33, but in XEP-45 § 7.2.14 (Example 36).
* </p>
*/
ofrom,
}
private List<Address> addresses = new ArrayList<Address>();