Twitter never forgets.

On the same day her father announced a ban on transgender people from serving in the U.S. military, Ivanka Trump is taking heat for a tweet sent more than a month ago expressing her support for the LGBTQ community.

In June, Ivanka Trump tweeted, "I am proud to support my LGBTQ friends and the LGBTQ Americans who have made immense contributions to our society and economy."

The tweet received some initial backlash when Twitter users called Ivanka Trump out for supporting "the most anti-LGBTQ+ presidential ticket in recent times," as one Twitter user put it, adding, "Your words mean nothing to us."

After President Trump announced the transgender military ban Wednesday, his daughter's statement faced even more scrutiny for what some saw as hollow words.

President Trump faced backlash of his own for the ban, which was announced on the same day as the anniversary of former president Harry Truman desegregating the armed services, and many active transgender service members expressed dismay over the decision.

Follow Ryan Miller on Twitter @RyanW_Miller

Read more:

Ivanka Trump, White House adviser: 'I try to stay out of politics'

Albert Einstein estate corrects old Ivanka Trump tweet: No, he didn't say that

Democrats target Ivanka Trump security clearance amid Kushner scrutiny