yes, i want to detect whether openfire support xep-0083, so i just use smack 3.2 to send an IQ packet to openfire server to querying for the delimiter, the connent of IQ packet is just like that :
“If there is no delimiter stored, a client MAY set a delimiter but MUST either prompt the user for a delimiter, or use a user-configurable default.” A “get” does not modify the empty delimitier, you need a “set” request.
well, i already read that. but before i try that, i want to know whether openfire support XEP-0083. if openfire doesn’t support it, it will be unneccessary to try “set” request.
Finally, i wrote a packetIntercepter to modify the packet body, and add nested group support according to XEP-0083. Just like that:
Groups:
xxx.org-----Midsummer-----Actors------usera
| |
| -----Royalty----userb
|-----Hamlet -----userc
packet before being modified
Actors
Royalty
Hamlet
packet after being modified
Midsummer::Actors
Midsummer::Royalty
Hamlet
However, that group name must be unique in openfire is unreasonalbe, i think. If there are two sub group named “mygroup” in different super group, openfire won’t work fine. Anybody can help me for this?
By the way, Spark (2.6.3) only support two level nested group.