From 284ce9ce7d9f81e54e91f917329d48926487fbf4 Mon Sep 17 00:00:00 2001 From: polwex Date: Wed, 12 Nov 2025 07:11:07 +0700 Subject: fixes to engagement handling --- app/lib/nostr/client.hoon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/lib/nostr/client.hoon') diff --git a/app/lib/nostr/client.hoon b/app/lib/nostr/client.hoon index 2438a47..c258258 100644 --- a/app/lib/nostr/client.hoon +++ b/app/lib/nostr/client.hoon @@ -48,9 +48,9 @@ ++ get-posts ^- (quip card _state) =/ kinds (silt ~[1]) - =/ since (sub now.bowl ~m1) + =/ last-week (sub now.bowl ~d1) :: =/ since (to-unix-secs:jikan:sr last-week) - =/ =filter:nsur [~ ~ `kinds ~ `since ~ ~] + =/ =filter:nsur [~ ~ `kinds ~ `last-week ~ ~] (send-req ~[filter]) ++ get-user-feed @@ -92,7 +92,7 @@ ++ test-connection |= relay-url=@t =/ kinds (silt ~[1]) - =/ since (sub now.bowl ~m1) + =/ since (sub now.bowl ~m10) =/ =filter:nsur [~ ~ `kinds ~ `since ~ ~] =/ sub-id (gen-sub-id:nostr-keys eny.bowl) =/ req=client-msg:nsur [%req sub-id ~[filter]] -- cgit v1.2.3