summaryrefslogtreecommitdiff
path: root/desk/sur/nostrill/comms.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-18 10:04:43 +0700
committerpolwex <polwex@sortug.com>2025-09-18 10:04:43 +0700
commite69afcff1c1f42436998ca0b070162d556dd577c (patch)
treeceaf1e3c7f654902eb3029483a4a2af37591c320 /desk/sur/nostrill/comms.hoon
parent7bac4927e8895719a91011da9a2b997579238145 (diff)
Diffstat (limited to 'desk/sur/nostrill/comms.hoon')
-rw-r--r--desk/sur/nostrill/comms.hoon21
1 files changed, 21 insertions, 0 deletions
diff --git a/desk/sur/nostrill/comms.hoon b/desk/sur/nostrill/comms.hoon
index 4930235..42ea1ba 100644
--- a/desk/sur/nostrill/comms.hoon
+++ b/desk/sur/nostrill/comms.hoon
@@ -5,6 +5,11 @@
[%res res]
[%dbug *]
==
++$ emgagement
+ $% [%reply host=@p id=@da]
+ [%del-reply host=@p id=@da]
+ [%reaction host=@p id=@da reaction=@t]
+ ==
+$ req
$% [%feed ~]
[%thread id=@da]
@@ -17,4 +22,20 @@
$% [%feed =fc:feed profile=(unit user-meta:nsur)]
[%thread p=full-node:post]
==
+:: TODO there's some overlap between what we send to the UI and we send to our followers
+:: but it's not exactly the same
++$ fact
+ $% [%post post-fact]
+ [%prof prof-fact]
+ [%init res]
+ ==
++$ post-fact
+ $% [%add p=post:post]
+ [%del id=@da]
+ [%changes p=post:post]
+ ==
++$ prof-fact
+ $% [%prof =user-meta:nsur]
+ [%keys pub=@ux]
+ ==
--