From d1eb90c303eac33547060eb74c1e5babb832bc41 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Mon, 10 Jun 2024 14:20:08 -0500 Subject: [PATCH] Re-enable zaps if disabled --- mutiny-core/src/hermes.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mutiny-core/src/hermes.rs b/mutiny-core/src/hermes.rs index 87dd39dbe..4a730b25d 100644 --- a/mutiny-core/src/hermes.rs +++ b/mutiny-core/src/hermes.rs @@ -184,10 +184,10 @@ impl HermesClient { // check that federation is still the same if let Some(f) = first_federation { - // if a registered federation exists and is what we have + // if a registered federation exists and is what we have and zaps are enabled // then there is no reason to update - if o.federation_id.is_some() - && f.federation_id == o.federation_id.unwrap() + if o.federation_id.is_some_and(|id| id == f.federation_id) + && !o.disabled_zaps { break; }