powered by Jive Software

How distinguish one message is an offline message!

Hello, everyone!

I am writing one jabber client with smack2.1, but can’'t find a right way to deal with the offline messages.

When I log in the jabber server, the jabber client will receive many offline messages some people leaved to me. I want to deal with them, but can’'t find a good method to distinguish whether the messages is offline messages?

Please tell me your cute methods with smack or other ways? Or jabber does’'t support it?

Many thanks!!!

The way to distinguish offline messages from normal messages is that offline messages will include a time stamp.


1 Like