public interface InvitationListener
void invitationReceived(XMPPConnection conn, String room, String inviter, String reason, String password, Message message)
If the room is password-protected, the invitee will receive a password to use to join the room. If the room is members-only, the the invitee may be added to the member list.
conn- the XMPPConnection that received the invitation.
room- the room that invitation refers to.
inviter- the inviter that sent the invitation. (e.g. firstname.lastname@example.org).
reason- the reason why the inviter sent the invitation.
password- the password to use when joining the room.
message- the message used by the inviter to send the invitation.