Improved backend to support chat colours