Update formatted message richtext when colors need to be updated

Merged Milian Wolff requested to merge work/update-richtext-on-colorscheme-changes into master

The richtext contains colors from the current color scheme. Thus if the scheme changes, we have to update the richtext, otherwise it will keep using the old colors until the document is recreated.

Merge request reports