X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=60f62917226af3c9b2fa3c528e774c1ff25ce1d0;hp=851201f8590d6db9f5e33f1fda52ccca0d8ab7ae;hb=cd0d7743323309fcfd241ccba959df81a77970c7;hpb=bcaa8c0061b67fa95691a951d415bafef33265a2 diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 851201f8..60f62917 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -284,8 +284,9 @@ export default { // Ask identity, challenges and game(s) this.st.conn.send(JSON.stringify({code:"askidentity", target:sid})); this.st.conn.send(JSON.stringify({code:"askchallenge", target:sid})); - this.st.conn.send(JSON.stringify({code:"askgame", target:sid})); }); + // Also ask current games to all playing peers (TODO: some design issue) + this.st.conn.send(JSON.stringify({code:"askgames"})); break; } case "askidentity":