We're updating the issue view to help you get more done. 

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

Description

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 );
message.body=reason;
_connection.send( message );
}

Environment

None

Acceptance Test - Entry

None

Activity

Show:
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.

Assignee

Guus der Kinderen

Reporter

Andrew Westberg

Labels

None

Expected Effort

None

Priority

Major
Configure