X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Futils%2FgameStorage.js;h=f69de2e2629a64ac9afc7f9a31eb7f2f3b25ff5e;hb=1ef65040168ab7d55ce921abc9d63644a937d689;hp=109c8251c04e90e2a99534e0064b6a771373380e;hpb=5f918a278904266a2a66a3c8e2a3655f37c2d2a7;p=vchess.git diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index 109c8251..f69de2e2 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -87,6 +87,7 @@ export const GameStorage = { Object.keys(obj).forEach(k => { if (k == "move") game.moves.push(obj[k]); else if (k == "chat") game.chats.push(obj[k]); + else if (k == "chatRead") game.chatRead = Date.now(); else if (k == "delchat") game.chats = []; else game[k] = obj[k]; });