front-end chat polling