set _lastEdited to _created rather than to zero

This commit is contained in:
Andrew Meadows 2014-12-17 15:59:16 -08:00
parent 44ebf37510
commit 75d468da9e

View file

@ -368,10 +368,9 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
createdFromBuffer -= clockSkew;
if (createdFromBuffer < _created) {
// the server claims that this entity has an older creation time
// so we accept it and clear _lastEdited
// the server claims that this entity has an older creation time so we accept it
_created = createdFromBuffer;
_lastEdited = 0;
_lastEdited = _created;
}
if (wantDebug) {