this is affirming the consequent. "liking bad things -> you are bad" might be true, but it does not imply "bad person liking thing -> thing is bad".
It does imply this if it's in the exact context of the Gestapo and Stasi and surveillance technology.