Rather than on invites, it makes more sense or this to be set on join, because considers the possibility of joining channels without an invite.