Merge pull request #537 from PR0M3TH3AN/codex/replace-notify-call-in-start_background_relay_check

Refine relay warning notification
This commit is contained in:
thePR0M3TH3AN
2025-07-14 12:30:32 -04:00
committed by GitHub

View File

@@ -1092,8 +1092,8 @@ class PasswordManager:
healthy = self.nostr_client.check_relay_health(MIN_HEALTHY_RELAYS)
if healthy < MIN_HEALTHY_RELAYS:
self.notify(
f"Only {healthy} relay(s) responded with your latest event."
" Consider adding more relays via Settings.",
f"Only {healthy} relay(s) responded with your latest event. "
"Consider adding more relays via Settings.",
level="WARNING",
)
except Exception as exc: