powered by Jive Software

Inbound Messages

Hello,

I am using XIFF with OpenFire 3.6.2. I use anonymous logins (useAnonymousLogin=true). I am able to connect correctly and send messages, But inbound messages are not working correctly.

connection.addEventListener(MessageEvent.MESSAGE, onMessage);
private function onMessage(evt:MessageEvent):void

msgOutput.appendText("onMessage " + getTimer());
//msgOutput.appendText(evt.data.time);
addMessage(evt.data.from, evt.data.body);
}

The event is never fired thou outbound messages do work correctly. I see the packets coming across the wire (tcpdump) but they never fire within XIFF. Any input?

Thank you

Make sure presence is set.