Fix a typo in the chat sample

Looks like a relic of an earlier refactor.