projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Early draft of Paco-Sako + some fixes
[vchess.git]
/
client
/
src
/
components
/
Chat.vue
diff --git
a/client/src/components/Chat.vue
b/client/src/components/Chat.vue
index
273cf7a
..
bce0ba0
100644
(file)
--- 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)
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);
};
this.$emit("mychat", chat);
this.chats.unshift(chat);