mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 14:51:02 +00:00
Do not make local identities outdated (#667)
This commit is contained in:
parent
1a728ea023
commit
a58d7ccd8f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class IdentityStates(StateGraph):
|
|||
|
||||
@classmethod
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue