Implement handling invitations with automatic joining