message.setTo(roomUri.getJID());
final XMLPacket invite = message.getXML().addChild("x", XmppNamespaces.MUC_USER).addChild("invite");
invite.setAttribute("to", userJid.toString());
invite.setChildText("reason", reasonText);
eventBus.fireEventFromSource(new BeforeRoomInvitationSentEvent(message, invite), this);
session.send(message);
eventBus.fireEventFromSource(new RoomInvitationSentEvent(userJid, reasonText), this);
}