Do not make local identities outdated (#667)
This commit is contained in:
parent
1a728ea023
commit
a58d7ccd8f
|
@ -139,7 +139,7 @@ class IdentityStates(StateGraph):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def handle_updated(cls, instance: "Identity"):
|
def handle_updated(cls, instance: "Identity"):
|
||||||
if instance.state_age > Config.system.identity_max_age:
|
if not instance.local and instance.state_age > Config.system.identity_max_age:
|
||||||
return cls.outdated
|
return cls.outdated
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue