We've had decades of salary suppression already, supported by a culture of "Don't tell your coworkers what you earn." I'm not seeing how making full disclosure mandatory would generally depress salaries.
The people whose job it is to measure this have explained it and it's linked above - because it changes employers' incentive to negotiate and makes them more reluctant to give any raises because those raises would be visible and trigger more raises being requested. This can reduce inequality but bring the averages down (some might argue that's an acceptable tradeoff).
There's a difference between coworkers talking to each other and the system being set up in a transparent way where everyone can see everyone else's salaries, these two aren't the same thing.
loading story #50394002
loading story #50394574