This module discards typing notifications sent to a bare host JID, preventing error replies to be sent. These errors are harmless but can be annoying sometimes if your client shows them prominently.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_ignore_host_chatstates
For earlier versions see the documentation for installing 3rd party modules