However, the person he was in contact with was an undercover police officer in an online chat room seeking out child predators.