From a58d7ccd8fa9d411415f14d00f77e2bfc5f16031 Mon Sep 17 00:00:00 2001 From: Henri Dickson <90480431+alphatownsman@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:19:18 -0500 Subject: [PATCH] Do not make local identities outdated (#667) --- users/models/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models/identity.py b/users/models/identity.py index 63edc48..8a31df5 100644 --- a/users/models/identity.py +++ b/users/models/identity.py @@ -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