it's against the law for a federal employee to do campaign work/ oppo research or anything else at the office, use gov't resources, computers office equipment etc. but there's no law that says he can't have a chat with his opponent about gay conversion camp.