Any town may, by vote, prescribe a different method of warning meetings; and the meetings warned in pursuance of such vote shall be legal and valid.