[jdev] Protocol customization guidelines
Remko Tronçon
remko at el-tramo.be
Fri Dec 12 17:58:04 CST 2008
> But I
> guess the right way is to use custom messages, like
> <message><event><shot from='1' to='2'/></event></message>. Are there
> any guidelines or best practices on how to do this?
- No, don't use <body>
- Yes, custom events in your own custom namespace is the way to go.
Whether you want to use <messages> or <iq> is up to you. Make sure
that, if you use <messages>, you use XEP-0079 to make sure that
messages are not stored offline on the server.
- No, there are no guidelines on this.
cheers,
Remko
More information about the JDev
mailing list