mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 15:28:44 +00:00
Merge pull request #537 from PR0M3TH3AN/codex/replace-notify-call-in-start_background_relay_check
Refine relay warning notification
This commit is contained in:
@@ -1092,8 +1092,8 @@ class PasswordManager:
|
|||||||
healthy = self.nostr_client.check_relay_health(MIN_HEALTHY_RELAYS)
|
healthy = self.nostr_client.check_relay_health(MIN_HEALTHY_RELAYS)
|
||||||
if healthy < MIN_HEALTHY_RELAYS:
|
if healthy < MIN_HEALTHY_RELAYS:
|
||||||
self.notify(
|
self.notify(
|
||||||
f"Only {healthy} relay(s) responded with your latest event."
|
f"Only {healthy} relay(s) responded with your latest event. "
|
||||||
" Consider adding more relays via Settings.",
|
"Consider adding more relays via Settings.",
|
||||||
level="WARNING",
|
level="WARNING",
|
||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
Reference in New Issue
Block a user