mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Don't add a anonymous author to the attribute pool, this prevents some wired bugs
This commit is contained in:
parent
92257cd0af
commit
255a1b94f2
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ function appendRevision(id, theChangeset, author)
|
|||
globalPads[id].rev[newRev].meta.timestamp = new Date().getTime();
|
||||
|
||||
//ex. getNumForAuthor
|
||||
apool.putAttrib(['author',author||'']);
|
||||
if(author != '')
|
||||
apool.putAttrib(['author',author||'']);
|
||||
|
||||
if(newRev%100==0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue