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