It is not necessary to clear the chat input when locking chat when a message would be sent.
Currently this races with the key handlers where it can sometimes clear the chatbox input
prior to enter being processed, resulting in dropped messages
This was introduced in b5acb61771