feat: show relay NOTICE

This commit is contained in:
Vlad Stan 2023-06-30 11:46:47 +03:00
parent f244f60c56
commit 1601f71b03
6 changed files with 44 additions and 10 deletions

View file

@ -121,6 +121,7 @@ class NostrRouter:
my_event = NostrRouter.received_subscription_notices.pop(0)
# note: we don't send it to the user because we don't know who should receive it
logger.info(f"Relay ('{my_event.url}') notice: '{my_event.content}']")
nostr.client.relay_manager.handle_notice(my_event)