From 096e140ee1c72b3c91e6a59b05aa0b5178a06f6d Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 11 Oct 2022 14:51:45 +0200 Subject: [PATCH] Check if active profile is outdated before using --- profile/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/get.go b/profile/get.go index ad8d018b..9d6d1b61 100644 --- a/profile/get.go +++ b/profile/get.go @@ -221,7 +221,7 @@ profileFeed: } // Check if this profile is already active and return the active version instead. - if activeProfile := getActiveProfile(profile.ScopedID()); activeProfile != nil { + if activeProfile := getActiveProfile(profile.ScopedID()); activeProfile != nil && !activeProfile.IsOutdated() { return activeProfile, nil }