There were celebrities and leftwing figures getting away with all sorts of unsavoury language on Twitter for years, so the tools were probably already there. Would be more surprising if they hadn't been put to use for the inverse after leadership changed.