If only her face was shown, it does not sound like any nudity was seen.
Second, if your friend is concerned about flirting with an apparent minor, the flirting is not the issue - the main issue is whether the friend saw the alleged minor undressed and so was watching alleged child pornography.
First, you probably do not want to post too much detail on this public site.