Camera in girls lockeroom

I played sports while in highschool, and changed everyday with my teammates in the girls lockeroom. My bestfriend has just admitted to his friends placing a camera in the girls lockeroom and watched us get changed. I’ve been out of school for two years now, but the thought still sickens me. I’m thinking about just ending our friendship because that was against our consent, and wrong. Would the friendship be over for you as well?