powered by Jive Software

How to get discussion history messages time?

If I join a Multi User Chat room, I can get the discussion history. But I want differ the messages between history messages and the realtime messages. In discussion history I use **setSince() **not setMaxStanzas() so the way is not by counting the history messages but by knowing the history messages time. How can I do that?

I got a clue. I can retrieve the packet extension. Then check wether there is an extension like “org.jivesoftware.smackx.packet.DelayInfo@xxxxxx”.

By this way I can differ the messages between history and realtime but still can’t get the time for each history messages.

Any idea?