I noticed that the Spark client has a feature whereby one can send an alert to another user to get their attention. After a little digging I discovered that they are simply sending a normal chat message containing an extension called buzz, but with no actual message text. The Spark client apparently delivers the alert rather than posting the chat message to the chat room when it sees the buzz extension.
I have a need to do something similar. I want to be able to send messages to the chat client (which is really just embedded in my larger application) to do things like display and hide certain user interface controls, highlight things on the UI, possibly display special messages broadcast by a moderator in a special location on the UI, etc. I am thinking that just adding extensions to the normal chat message might be easier then using custom IQ messages which would also require me to write a plugin for OpenFire, etc. Has anyone done this in XIFF? Can someone give me a few pointers about where I need to make changes to add my own extension of this type? I’m surfing the source code now trying to figure it out, but any help would be appreciated.
Also, if you see any reason that this is not a good idea, please let me know that as well. Thanks.