Fixed a bug that the chat tab didn't actually write the message due to a
misspell.