```js
this.typingTimeout = setTimeout(function() {
  this.trigger("chat:type-stop");
}.bind(this), 5000);
```

might just work as well.