About https://github.com/GladysAssistant/Gladys/pull/1051
which fixes Spread own chat messages to other opened window of the same user (websocket) · Issue #553 · GladysAssistant/Gladys · GitHub
I think we need to discuss a bit more before fixing ![]()
I had imagined this sequence diagram to solve the problem but the story of IDs is a bit confusing. The IDs generated by the Front and those of the database have nothing to do with each other.
It is the Front that initiates the message that must know which message it has sent (to avoid duplicates when the back distributes this same message to all the fronts to synchronize them).
Do you see another approach?
