I believe he said this to satisfy his audience, and maybe to try to put pressure on social media so that they cooperate with authorities (to identify leaders and/or limit coordination between rioters).
It's bad because he's still pushing the overton window to the right, pretending this is OK for a the leader of a democracy to consider this. But I don't think they are seriously thinking about cutting social media.