Ask her. However you complicated things by dating her friend. She might consider you off limits now because it can cause a riff between her and the friend.