All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
A Muslim is religiously required to greet another Muslim with 'Salaam' and respond to the one who greets him with ‘Salaam’. A Muslim should greet other Muslims whether or not he knows them as confirmed in the Sunnah. Also, it is not permissible for a Muslim to raise his voice in the mosque even when mentioning Allaah if this disturbs other praying people. For more benefit, please refer to Fatwa 84464.
Therefore, if the people whom you referred to in the question did what you said, then they are wrong, so one should continue to advise them and greet them altogether with one Salaam, as there is no necessity to greet each person separately.
You should continue to do this great moral act upon which you were raised as it is the right of a Muslim on his Muslim brother, and the Prophet said: “The better amongst the two is the one who starts greeting the other with Salaam.”
Finally, it should be noted that you should not abandon the congregational prayer in that mosque just because of this, but it is permissible for you to go to another mosque.
Allaah Knows best.