hedgeagent/1.12.0 #1

Open
sa6anw wants to merge 201 commits from hedgeagent/1.12.0 into hedgeagent/1.10.5
Showing only changes of commit 7e2a783161 - Show all commits

View File

@@ -384,6 +384,9 @@ function finishConnection (socket, noteId, socketId) {
}
const note = notes[noteId]
const user = users[socketId]
if (!user) {
return failConnection(500, 'user not found', socket)
}
// update user color to author color
if (note.authors[user.userid]) {
user.color = users[socket.id].color = note.authors[user.userid].color