Donald Trump threatened to kill all North Koreans, a crime that contravenes international law and would, if executed, place him in league with such luminaries as Hitler and Pol Pot. He's still on Twitter.
The word "if" was probably the key factor here. Since his threat was conditional, that most likely puts it into a different category than outright threats.