Filter author attribs in client_vars.historicalAuthorData
This commit is contained in:
parent
9fac515885
commit
de73de38b1
1 changed files with 1 additions and 2 deletions
|
@ -953,8 +953,7 @@ function handleClientReady(client, message)
|
|||
authorManager.getAuthor(authorId, function(err, author)
|
||||
{
|
||||
if(ERR(err, callback)) return;
|
||||
delete author.timestamp;
|
||||
historicalAuthorData[authorId] = author;
|
||||
historicalAuthorData[authorId] = {name: author.name, colorId: author.colorId}; // Filter author attribs (e.g. don't send author's pads to all clients)
|
||||
callback();
|
||||
});
|
||||
}, callback);
|
||||
|
|
Loading…
Reference in a new issue