Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Save author name on send

Gabe Kangasf6153c983f86
diff --git a/webroot/js/app.js b/webroot/js/app.js
index 08d2cdcc22..3e2c3b7727 100644
--- a/webroot/js/app.js
+++ b/webroot/js/app.js
@@ -24,6 +24,7 @@ function setupApp() {
methods: {
submitChatForm: function (e) {
const message = new Message(this.message)
+ localStorage.author = message.author
const messageJSON = JSON.stringify(message)
window.ws.send(messageJSON)
e.preventDefault()