public boolean canOccupantsInvite() {
        return canOccupantsInvite;
    }
Returns true if occupants can invite other users to the room. If the room does not require an
invitation to enter (i.e. is not members-only) then any occupant can send invitations. On
the other hand, if the room is members-only and occupants cannot send invitation then only
the room owners and admins are allowed to send invitations.

@return true if occupants can invite other users to the room.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java