To be fair did you share part of an Ooc conversation.
But yes, it is considered an diplomatic insult to share private conversation between 2 leaders with the world. That however is an in game thing and are something solved in game. We seen a few nations in the past sharing such things and there have of course always been diplomatic consequences.