1
0
Fork 0
mirror of https://api.glitch.com/git/yaswvc synced 2026-01-12 05:08:11 +00:00

🎯👞 Checkpoint

./public/main.js:5975361/95
This commit is contained in:
Glitch (peerjs-video) 2020-09-10 21:30:56 +00:00
parent 9daa3a4950
commit 6585d78d83

View file

@ -93,6 +93,8 @@ var app = new Vue({
sendMessage: function(text = this.chatInput) { sendMessage: function(text = this.chatInput) {
this.connections.forEach(c => { this.connections.forEach(c => {
c.send(text); c.send(text);
this.logMessage(`Me: ${text}`);
this.chatInput = '';
}); });
}, },
listenForPeerEvents: function () { listenForPeerEvents: function () {