Disney was planning to buy Twitter but then decided to cancel the deal because of the “nastiness” on the social media platform.