powered by Jive Software

Retrieving MUC room history

newbie Q - How do I retrieve history after joining a MUC room? I’'m passing a DiscussionHistory argument to the join() method in the hope of getting some history.

I’'m using Smack 2.0 with Jive Messenger 2.2.1

Hey ziggyk,

Room history will be sent to the new occupant after joining the room. The occupant will receive messages with extended information qualified by the ‘‘jabber:x:delay’’ namespace. This extension informs the occupant about the date when the message was sent to the room. When using persistent rooms make sure that the “log conversation” feature is enabled so that the room can keep its history even after the server has been restarted.


– Gato