X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChat.vue;h=bce0ba0df5b52491ee7972cc323c3c2a94dc2330;hb=2508a5c015e395ecb075237e41fd99bfbc515e15;hp=273cf7a7e1969f444d7976bf9ec9497fa21b6e4f;hpb=4f524197ee499b58f574908c58bf50efa69dd359;p=vchess.git diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue index 273cf7a7..bce0ba0d 100644 --- a/client/src/components/Chat.vue +++ b/client/src/components/Chat.vue @@ -66,7 +66,7 @@ export default { msg: chatTxt, name: this.st.user.name, // SID is required only for anonymous users (in live games) - sid: this.st.user.id == 0 ? this.st.user.sid : null + sid: this.st.user.id == 0 ? this.st.user.sid : null }; this.$emit("mychat", chat); this.chats.unshift(chat);