The wildfire warn logs were complaining about an Invalid presence show when setting the presence to Presence.SHOW_NORMAL (available):
2006.06.08 07:26:38 Invalid presence show
java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Presence$Show.normal
/code
The issue is fixed by not sending the “show” element for a normal presence.
So in org.jivesoftware.xiff.data.Presence change the function set show( showVal:String ) to be:
public function set show( showVal:String ):Void
{
if (showVal == Presence.SHOW_NORMAL) {
myStatusNode.removeNode();
} else {
myShowNode = replaceTextNode(getNode(), myShowNode, “show”, showVal);
}
}
/code