Looks like Blac Chyna and Rob Kardashian are capable of getting along and acting like adults after all!

After a rocky couple of days for the couple — during which Rob leaked his ex’s nudes and reportedly threatened suicide — the two came together and put their differences aside in order to figure out what worked best when it came to their daughter, Dream.

Check out the video to get details on their custody agreement.

This comes shortly after New York-based family attorney Alyssa Eisner, Esq., Sager Gellerman Eisner LLP — who has never worked with Chyna or Rob — explained that the eight-month-old’s paternal grandma, Kris Jenner, potentially had a strong case for custody of the precious little girl, noting that she could also make a case for “grandparent’s rights,” which is when the court orders visitation rights for grandparents.

As Ms. Eisner explained exclusively to In Touch, Kris Jenner had a strong case for custody by first proving her “standing” as a responsible and loving grandparent to Dream, and also by arguing that their social media war reflected their poor judgment, which could translate to poor parental judgment.

MORE: Blac Chyna Speaks out About Rob Kardashian Feud, Says She Was Devastated

While social media may seem harmless and without consequences, Ms. Eisner said that this isn’t the first time she’s seen social media play a role in custody battles.

“I always tell my clients — when they’re engaging in a custody battle — that the best thing you can do is deactivate your social media accounts when you’re going through it,” she said. “Because once something is out there, you can never undo it. You can never take it back.”

For access to all our exclusive celebrity videos and interviews – Subscribe on YouTube!