Sending a message together with a subscribe request

Hi,

I want to send a message together with my subscribe request, so that the requested contact can see some information about the requesting user.

I use the status attribute of the presence element for that.

It works as long as the requested contact is available and Openfire can directly route the presence stanza to the contact.

However, if the user is offline and becomes available later, Openfire does not route the full presence stanza to the contact. It is missing the status value.

It seems, Openfire does not store the complete presence object.

How could I solve that problem?

Does nobody has an answer or suggestion?