mirror of
https://github.com/nostrlabs-io/notepush.git
synced 2025-06-19 05:04:57 +00:00
Add more debug logging for better troubleshooting
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@ -132,6 +132,7 @@ impl NotificationManager {
|
||||
);
|
||||
let one_week_ago = nostr::Timestamp::now() - 7 * 24 * 60 * 60;
|
||||
if event.created_at < one_week_ago {
|
||||
log::debug!("Event is older than a week, not sending notifications");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user