I had a friend who was like this. I eventually learned that it was useful to get her to repeat back/paraphrase what I said when it was something important. I first did it when I was extremely annoyed when her inattentiveness caused us both a lot of unnecessary stress. I snapped and spoke to her quite harshly — I recall saying something like "do I need to ask you to repeat back what I've told you, like you're a child?". Man, I'm cringing just writing that, because whilst my anger was justified, speaking to her like that was out of line.
I later apologised to her for this, which she forgave me for, but she went onto say that getting her to repeat stuff back when it's important might actually be useful (as long as I wasn't an asshole again). It felt awkward to do at first, but it ended up being a really useful strategy that helped us work together better.
Though this was only for important stuff. The vast majority of the time, it was wisest to just accept it and move on. I had to learn to not take things personally, and that giving her flack for it wouldn't actually help.