kopia lustrzana https://github.com/jointakahe/takahe
Do not make local identities outdated (#667)
rodzic
1a728ea023
commit
a58d7ccd8f
|
@ -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
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue