Save state: draft of askgame logic but some bugs for now
[vchess.git] / client / src / components / Chat.vue
index b4970f7..c7f63cf 100644 (file)
@@ -28,7 +28,7 @@ export default {
       if (data.code == "newchat") //only event at this level
       {
         this.chats.push({msg:data.msg,
-          name:data.name || "@nonymous", sid:data.sid});
+          name:data.name || "@nonymous", sid:data.from});
       }
     };
     const socketCloseListener = () => {