Voted against DOMA and eventually repealed it. There were some weird semantics about naming nomenclature of calling it a marriage in the early 2000’s. During the primaries he gave vague answers about some religions being opposed to it but did flip from earlier statements about same-sex marriages in his earlier career
You’re right and I’m misremembering how it happened. I really thought DOMA was later. I’m not sure the distinction between invalidating in verse repealing it. He may have seemed more pro-LGBTQ since others were more outwardly against it.