That sounds a lot like saying China can accept unequal treaties so long as it gets on with the other country, which would be contrary to previous Chinese government positions that unresolved unequal treaties would be a barrier to good relations.
Again, China's will always try to have good relations with other countries, but accepting unequal treaties is a thing of the past. Accepting any new unequal treaties will seriously damage the CCP's legitimacy and call into question their right to power.
Anyway I'll go back to my original question. I asked if China was happy with the revised area of control and if that could form a basis of a settlement, or whether China had further territorial ambitions.
If you are still referring to the Primorsky Krai areas along the Russian border, this issue is officially resolved through negotiation and is no longer a barrier to good relations with Russia. With that said, it's also true there are some in China who feel wronged that the Soviet Union, as allied communists, have forced yet another unequal treaty upon China, and deeply wish for China to regain this lost territory.
However, you describing this as China's "further territorial ambitions" suggests China will threaten Russia militarily in the future. This is untrue and is clearly a politically motivated statement. Again, this issue is resolved, and even if China does plan to regain Primorsky in the future, it will be almost definitely through win-win negotiation. There are a lot of things China can offer Russia in terms technologies, trade, and development.
Another user said that China would always punish another country that tried to take its territory, but that doesn't make a lot of sense in this context because as far as I'm aware the consensus on this forum is that India has not moved the border in its favour and it's China that has made advances.
Wrong, the current border conflict is solely started by Indian aggression. China views all her neighbors as partners for building a shared and prosperous future. There is no strategic benefit for China to start a conflict with India. China's current geopolitical focus is with America in the South China Sea and Taiwan strait. In fact, it is in China's strategic interest to maintain very good relations with India and as such, China has invested heavily in helping to build infrastructure in India.
In the current western dominated media landscape, hating on China is the popular and cool thing to do, so it's understandable that most people's thinks that China is the aggressor. India's claims is that "Chinese aggression" is Xi's attempt to divert attention away from domestic trouble. This is simply untrue.
There is very little "domestic trouble" in China currently. Perhaps in late 2019, Xi Jinping's leadership was criticized for his poor handling of the U.S-China relationship, and then in early 2020, the corona virus further pressured Xi's right to power. But by June, due to the excellent handling of the virus outbreak, all prior criticism became moot, and Xi has actually consolidated his position. He is currently expected to serve until 2035.
On the other hand, India is actually troubled by domestic matters. The corona virus hit the Indian Economy hard; adding on to that, the farmers' protest that started in September (which western media ignored completely until now), further pressured New Delhi to shift blame. This brought India closer to the United States as both parties now have the common interest in blaming China. Which made Russia unhappy, and we get Sergey Lavrov's comments on youtube being discussed here today.