The discussion platform says it made the move after threats of violence against the police.