mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Improve the test - thanks Dave!
This commit is contained in:
parent
a2a24b22a8
commit
e492ca9364
1 changed files with 1 additions and 1 deletions
|
@ -1541,7 +1541,7 @@ void AvatarData::processAvatarIdentity(const Identity& identity, bool& identityC
|
|||
// Additionally, ensure that the timestamp that we try to record isn't negative, as
|
||||
// "_identityUpdatedAt" is an *unsigned* 64-bit integer. Furthermore, negative timestamps
|
||||
// wouldn't make sense.
|
||||
if (identity.updatedAt - clockSkew >= 0) {
|
||||
if (identity.updatedAt > clockSkew) {
|
||||
_identityUpdatedAt = identity.updatedAt - clockSkew;
|
||||
} else {
|
||||
_identityUpdatedAt = 0;
|
||||
|
|
Loading…
Reference in a new issue