[TS5 Bug] When changing the Rich Text setting, it resets all unsent messages in text field

Steps to reproduce:

  1. Make sure Rich Text is enabled and copy paste this **text** in a chat textfield without sending the message.
  2. Now go to the settings and toggle this off
  3. Go back to the chat room.
  4. Notice how everything you typed is gone.

This doesn’t happen when you switch channels and then back. The message stays in the textfield. But this setting seems resetting it.

I expected it to turn my rich text edit like preview parts in the message to source rich text code.