As explosions sounded in the Iranian capital, people frantically checked phones and social media to see whether they were under attack again.