XEP-0085: Chat State Notifications

I could not find any information if XEP-0085 (http://xmpp.org/extensions/xep-0085.html) is supported or not.

Anyone having more information of this?

I am implementing it in XIFF, thus would be useful to have it supported in Openfire too…

Hi Juga,

in Server Handling of Notifications it’s written:

In contrast to XEP-0022, chat state notifications are completely the responsibility of the client, and MUST NOT be generated by a server or service.

What kind of support do you mean or miss?

http://xmpp.org/extensions/xep-0085.html#support

Mainly having yes to these two questions:

  • Is it listed in the service discovery listing

  • Is it allowed to be passed thru the back end (message xml validation)

Additionally:

  • Can admin control the history of states as regular messages are?

It was some time I used this. But there is an existing implementation for it under: org.jivesoftware.xiff.data.events.MessageEventExtension

I’ve used this for chat state notifications in MUCs:

// Create an empty group message and adress it to the chat room
var message:Message = new Message( room.roomJID, null, null, null, Message.GROUPCHAT_TYPE ); // Add the extension and let them know we are composing
var event:MessageEventExtension = new MessageEventExtension();
event.composing = true; event.inactive = false; message.addExtension(event); room.sendMessageWithExtension(message);

That partly implements http://xmpp.org/extensions/xep-0022.html, which is obsolete…