X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=f8add7954c1c32dcb9dc77f35fcc1fbf520af7f7;hp=1031e49c75b2cc07c806f52d5ba9e319a3df6172;hb=bd5c8a789d6ba16c02a77c9c7702c18f68579d69;hpb=cba6ec9460cf635a21e9a0df8e628cc387a3f95a diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 1031e49c..f8add795 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -600,7 +600,8 @@ export default { // NOTE: it may be live or correspondance const game = data.data; // Ignore games where I play (corr games) - if (game.players.every(p => p.id != this.st.user.id)) + if (game.players.every(p => + p.sid != this.st.user.sid || p.id != this.st.user.id)) { let locGame = this.games.find(g => g.id == game.id); if (!locGame) {