Chat History Getting Deleted

After chatting with a user for quite a while, and then placing some calls, all previous chat hostories are getting deleted. Screenshots attached.