powered by Jive Software

Support for custom top level stanza attributes


#1

we are constructing our own, chat app, which uses XMPPFramework, and they can construct any type of message packet, and can even add, top level child in root “<message>” tag like for example "<message media=0 broadcast=0 type=chatstates > " can i do so in Smack? because as of now what i know is, Message class is a final class, that makes it, hard to modify


ChatStates No working
#2

Not yet. Someone would need to work on https://github.com/igniterealtime/Smack/pull/69 again.

Also note that ‘type’ is special and shouldn’t be used with custom values. That is why I suggest people from not fiddling with the top level stanza attributes and recommend to put their data in custom extension elements instead.