President Trump on Tuesday night retweeted messages from conservative TV icons Sean Hannity and Bill O'Reilly, who took aim at Fox News competitors in the wake of the mass shooting in Las Vegas.

"FNC dominated ratings last night. MSNBC-disaster demonstrating folks don't trust the network," O'Reilly, a former Fox News host, tweeted.

Hannity, a current Fox News host, also tweeted, promising to "name names" on his Tuesday night live broadcast from Las Vegas.

"Tonight the truth about how despicable the media and the left are in America today. We will name names. 9 est Hannity Fox News from Vegas," he wrote.

FNC dominated ratings last night. MSNBC-disaster demonstrating folks don't trust the network. https://t.co/rryWmyXe7C tonight-Vegas analysis — Bill O'Reilly (@billoreilly) October 3, 2017

Tonight the truth about how despicable the media and the left are in America today. We will name names. 9 est Hannity Fox News from Vegas. — Sean Hannity (@seanhannity) October 3, 2017

Both messages were retweeted by Trump Tuesday evening around 8:30 p.m.

Trump had called for unity in the hours after the mass shooting in Las Vegas.

ADVERTISEMENT

“Our unity cannot be shattered by evil, our bonds cannot be broken by violence and though we feel such great anger at the senseless murder of our fellow citizens, it is our love that defines us today and always will forever," Trump said at the time.

Trump has frequently used his Twitter account to attack the accuracy of the news media. Last week, Trump ripped the "fake news media" for coverage of relief efforts in Puerto Rico after a Washington Post report claimed Trump and his team went "dark" during a weekend trip to his Bedminster, New Jersey resort.

"My Administration, Governor @RicardoRossello, and many others are working together to help the people of Puerto Rico in every way," Trump wrote last week.

"#FakeNews critics are working overtime, but we're getting great marks from the people that truly matter!" he added.