Leah Messer
"Teen Mom 2" star Leah Messer, pictured during on the MTV reality show, finalized her divorce from second husband Jeremy Calvert while she was in rehab, in Season 6, episode 11. MTV/Viacom

While “Teen Mom 2” star Leah Messer sought treatment for a reputed during problem, she also finalized her divorce from her second husband, Jeremy Calvert. Fans of the West Virginia native heard about the official split in June, but in Season 6, episode 11 of the hit MTV show, viewers got to see Messer’s reaction.

Messer called her mother, Dawn Spears, from the facility. “I had court. I had to go, like, talk on the phone,” Leah says in a sneak peek clip of Thursday’s episode. “But our divorce is final. With Jeremy and I, just like, something just didn’t feel right. And I stayed because I didn’t want the embarrassment of another divorce. But you know what, I’m letting it go.”

Whether she’s in rehab for a reputed addiction to prescription pills for stress and anxiety like she claims, treatment has been helpful for Leah. “I’m really getting a lot figured out here,” the 23-year-old tells her mom. “I’m learning so many coping skills. I’m actually glad I did this. Maybe the hardest thing I’ve ever done in my life.”

Rumors recently swirled that Leah and Corey Simms, her first husband, had sex in the back of his truck. The stars haven’t addressed the gossip, but the Ashley’s Reality Roundup spoke to sources who claimed it was true.

Corey, who got remarried, to Miranda Patterson, tried to keep the affair secret by downloading a texting app. “Corey regrets it, especially since Miranda is pregnant now. But he had been talking to Leah for a while, so they both knew what they were doing," a source said. "It wasn’t just a random mistake, but Miranda forgave him."

Don’t miss Season 6, episode 11 of "Teen Mom 2" Thursday at 10 p.m. EDT on MTV.

Follow me on Twitter @mariamzzarella