Fixup chat history/edit history saving