Despite the revenge porn and the restraining order, Rob Kardashian and Blac Chyna have agreed on one thing

HOLLYWOOD, CA - MAY 10: Rob Kardashian and Blac Chyna arrive at her Blac Chyna Birthday Celebration And Unveiling Of Her "Chymoji" Emoji Collection at the Hard Rock Cafe on May 10, 2016 in Hollywood, California. (Photo by Greg Doherty/Getty Images)

What a relief!

Blac Chyna and Rob Kardashian have been publicly feuding for the last week after Kardashian shared revenge porn of his ex-fiancée in an angry rant on Instagram. On Monday, Chyna was granted a temporary restraining order against Kardashian. She claimed he was physically violent and filed documents that claimed he had a gun and previously threatened to kill himself.

RELATED: Things are changing for “The Little Couple” family with this news of Dr. Jen Arnold’s major career move

Despite all of the court drama, the former couple were able to agree on one thing: their daughter, Dream Kardashian. According to TMZ, Chyna and Kardashian agreed to 50/50 custody of their 8-month-old child. The agreement has reportedly been “loose by consent,” with Kardashian caring for Dream 4 days a week and Chyna taking her the other three.

The former couple reportedly has no problem with co-parenting, so their current strife likely won’t get in the way of their daughter’s wellbeing. Neither party plans to go to court for a judge to sign off on a formal parenting agreement.

Kardashian reportedly was caring for the child when Chyna went to court for the restraining order on Monday.

What do you think?

Rumors are swirling about Paris Jackson’s date, and now she’s ready to speak out about him

A woman allegedly set her boyfriend on fire and put the flames out in a pretty nasty way