['I was chatting with this girl who I thought liked me, but she thought she was texting my friend.']
What happened? Did you ask her to go out on a date?
I was chatting with this girl who I thought liked me, but she thought she was testing my friend.