summaryrefslogtreecommitdiff
path: root/app/sur/nostrill.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'app/sur/nostrill.hoon')
-rw-r--r--app/sur/nostrill.hoon13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/sur/nostrill.hoon b/app/sur/nostrill.hoon
index b6aeb3a..192553b 100644
--- a/app/sur/nostrill.hoon
+++ b/app/sur/nostrill.hoon
@@ -69,12 +69,12 @@ $% [%reply p=post:tp]
==
+$ post-poke
$% [%add content=@t]
- [%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]
+ [%reply content=@t host=user id=@da thread=@da]
+ [%quote content=@t host=user id=@da]
+ [%rp host=user id=@da] :: NIP-18
+ [%reaction host=user id=@da reaction=@t]
:: [%rt id=@ux pubkey=@ux relay=@t] :: NIP-18
- [%del host=@p id=@da]
+ [%del host=user id=@da]
==
+$ fols-poke
$% [%add =user]
@@ -83,6 +83,7 @@ $% [%reply p=post:tp]
+$ prof-poke
$% [%add meta=user-meta:nostr]
[%del ~]
+ [%fetch p=(list user)]
==
+$ relay-poke
$% [%add p=@t]
@@ -92,6 +93,7 @@ $% [%reply p=post:tp]
==
+$ relay-handling
$% [%sync ~]
+ [%prof ~]
[%user pubkey=@ux]
[%thread id=@ux]
:: send event for... relaying
@@ -101,6 +103,7 @@ $% [%reply p=post:tp]
+$ fact
$% [%nostr nostr-fact]
[%post post-fact]
+ [%prof (map user user-meta:nostr)]
[%enga p=post-wrapper reaction=*]
[%fols fols-fact]
[%hark =notif]