diff options
Diffstat (limited to 'desk/sur/nostrill/comms.hoon')
-rw-r--r-- | desk/sur/nostrill/comms.hoon | 21 |
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] + == -- |