XIFF MUC Invites aren't stored for offline users when using OpenFire


This probably needs to be assigned to the XIFF or OpenFire project, but Tinder was the only one on my list when I tried to create the issue. Please re-assign accordingly.

When communicating with XIFF to OpenFire and inviting a user to a permanent chatroom, the invite request never makes it to the invitee if they are offline at the time. OpenFire won't store the message in the ofOffline table unless it has a body.

To work-around this issue, I modified Room.invite() to set the reason as the body.

public function invite( jid:UnescapedJID, reason:String ):void
var message:Message = new Message( roomJID.escaped );
var userExt:MUCUserExtension = new MUCUserExtension();

userExt.invite( jid.escaped, undefined, reason );

message.addExtension( userExt );
_connection.send( message );




Guus der Kinderen
May 10, 2011, 4:24 PM

The Tinder issue tracker is not meant to be used to report Openfire issues. For Openfire, we've opted not to open up this issue tracker, but have users report bugs through the community website at http://community.igniterealtime.org/ - Please report your bug there instead.

Your pinned fields
Click on the next to a field label to start pinning.


Guus der Kinderen


Andrew Westberg