Question: What fallacy is this? Dictators support attacks on journalists. Therefore if you attack one journalists opinion, you are pro-dictator.

Since some errors in reasoning can be classified into many fallacies, I think the one you mentioned is an ad hominem (guilt by association) and also can be considered as a false equivalence