IANAL. Likely falls down to whether you had a reasonable belief that you were revealing a crime. If you took legal advice and if the other person was charged with a crime you’d be well justified in that belief.
2 Likes