Usually in work place sexual harassment issues, both need to be punished or spoken to or reprimanded if a third party overheard the conversation or was offended by the discussions. However, even if it were consensual, the issue becomes whether it truly was consensual and who did the complaining. If you feel you were wrongly singled out, file a complaint or seek legal counsel.