Missing first message


I have a plugin that uses the ChatRoomListener interface and implements the public void chatRoomOpened(final ChatRoom cr) method. This basically opens up a new chat window and intialises my plugin GUI on the same window.

Also I provide a implementation for MessageFilter.filterIncoming(Message message) for the ChatManager. This basically listens for new messages.

I send plugin specific messages via the Message.setProperty() method and this is all working.

The problem i have is that the very first message sent (i.e. when user A starts a new conversatsion with user B) is not shown up when the new conversation window pops up on the other end. Only subsequent messages work.

Any idea why this is??