It was a mortal sin to worship with non-Catholics before Vatican II.
Worshipping with non-Catholics was a mortal sin.