powered by Jive Software

Headline messages

I am trying to push a headline message to a chat that’s I am participating in. In browsing the docs I assumes chat.sendMessage(Message m) would allow me to set the Message.Type of the message. However, I am seeing that the message type gets overridden.

The comments imply that the message type will be consistent across the chat session.

If that’s so how can I inject a headline message?


Chat Threads are intereconnected threads of messages. A headline can, per definition, not be part of a chat thread. You just send the headline message stanza directly to the other chat participant.


I assume this means sending the message via the connection (which I tried and it worked).