How to clear the messages form chat room while leave from room

Hi all,

great greetings to all. This is my first disscussion.

I am using Xiff for chat in my flash AS3 project. Everything working fine , But once i leave from chat room and again add to same room it will display all the previos messages , how to check and clear the messages while re login to same room