mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 05:38:58 +03:00
Save author name on send
This commit is contained in:
parent
90e7e9082b
commit
f6153c983f
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue