Creation date of message

Hi,

How can I check creation date of incoming message?

I know Spark can do it, but I can’'t see such (indirectly) possibility in Smack API.

Is this some property in Message object or something?

Thanks for any help.

bigi

Hey bigi,

As you noticed Smack is not keeping track of that information. The Packet object is just a wrapped on the received XML. Spark is adding the creation time piece of information. You can do that by implementing your own packet listener.

Regards,

– Gato