powered by Jive Software

MUCRoom.sendPublicMessage issue

I am sending a public message to a MUCROom via MUCRoom.sendPublicMessage(message) api, the issue i have is that when my client request for room history, even thoug i have added the message into the roomhistory manually by calling getRoomHistory().addHMessage(), my clients cannot seem to get the message in history, is this an the intednede behaviour? if so how do i get it my message to be reflected in room history?