Actually, you are sort of right. It was about Peter accepting Gentiles into the church. And one of the stumbling blocks to getting Gentiles to come into the church was the dietary restrictions and the rules about eating with others.
Circumcision was also a major stumbling block to conversion and was also removed as a requirement.
(although I personally had both my boys circumcised and would never have considered not doing so)
Even though Paul says that circumcision of the flesh is of no value to the Kingdom of God?
My thoughts on this were guided primarily by ideas found in Galatians chapter 2. For this reason, we opted out of circumcisions for my two sons.
Got to remember that Peter recieved a vision from God showing a sheet with animals coming out of it, with the words “take, kill, eat”.