diff options
author | Marcel Klehr <mklehr@gmx.net> | 2013-10-07 18:58:20 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2013-10-07 18:58:20 +0200 |
commit | de73de38b177ca8e8052e688b88377e11fdda683 (patch) | |
tree | 55c5b25508f4e512c4b59b9b12e78eefa25d6e64 /src/node | |
parent | 9fac5158853e23fea48abb2bb4e7784354d32f5f (diff) | |
download | etherpad-lite-de73de38b177ca8e8052e688b88377e11fdda683.zip |
Filter author attribs in client_vars.historicalAuthorData
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/handler/PadMessageHandler.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index a79d2410..4adf6002 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -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); |