Fixed bug on client update_chat