diff options
| author | polwex <polwex@sortug.com> | 2025-11-12 07:11:07 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-12 07:11:07 +0700 |
| commit | 284ce9ce7d9f81e54e91f917329d48926487fbf4 (patch) | |
| tree | 7a156986323fd799e1457c8b7663806e32b2af7d /app/sur/nostrill.hoon | |
| parent | 7305d67ff7f9e78b73326ef0e1f68a9613d34205 (diff) | |
fixes to engagement handling
Diffstat (limited to 'app/sur/nostrill.hoon')
| -rw-r--r-- | app/sur/nostrill.hoon | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/sur/nostrill.hoon b/app/sur/nostrill.hoon index c5c5ae8..92a0876 100644 --- a/app/sur/nostrill.hoon +++ b/app/sur/nostrill.hoon @@ -15,6 +15,7 @@ :: profiles profiles=(map user user-meta:nostr) following=(map user =feed:trill) + following2=feed:trill follow-graph=(map user (set user)) :: TODO global feed somehow? @@ -39,7 +40,6 @@ $: pub=(unit @ux) $% [%fols fols-poke] [%begs begs-poke] [%post post-poke] - :: [%reac reac-poke] [%prof prof-poke] [%keys ~] :: cycle-keys [%rela relay-poke] @@ -50,11 +50,12 @@ $: pub=(unit @ux) == +$ post-poke $% [%add content=@t] - [%reply content=@t host=@p id=@ thread=@] - [%quote content=@t host=@p id=@] - [%rp host=@p id=@] :: NIP-18 + [%reply content=@t host=@p id=@da thread=@da] + [%quote content=@t host=@p id=@da] + [%rp host=@p id=@da] :: NIP-18 + [%reaction host=@p id=@da reaction=@t] :: [%rt id=@ux pubkey=@ux relay=@t] :: NIP-18 - :: [%del pubkey=@ux] + [%del host=@p id=@da] == +$ fols-poke $% [%add =user] |
