Andrei486 / uml-diagram-collab

0 stars 0 forks source link

Join handshake: send room info to clients #67

Open Andrei486 opened 9 months ago

Andrei486 commented 9 months ago

Do after #65. Second part of our join handshake. When a host receives a JOIN message, after the interpreter adds the client and does everything else it needs to for #65, it should additionally initiate sending a JOIN_RESPONSE back to that client. The message should have a payload that includes the following, plus any other info that the client will need TBD

When receiving this kind of message (on the client end only - a host should ignore these) the message interpreter should populate this information. At this point the message interpreter will definitely need access to the SessionModel if it did not already for #65.

Andrei486 commented 7 months ago

PR #116 will resolve this.