summaryrefslogtreecommitdiff
path: root/desk/lib/trill/post.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-18 08:26:30 +0700
committerpolwex <polwex@sortug.com>2025-09-18 08:26:30 +0700
commit7bac4927e8895719a91011da9a2b997579238145 (patch)
tree8b47f7370718e874af9a292a1b8e0e09555f3990 /desk/lib/trill/post.hoon
parent0549cfd01f1feed9c313a84a3884328d08887caf (diff)
damn my trill codebase was really something
Diffstat (limited to 'desk/lib/trill/post.hoon')
-rw-r--r--desk/lib/trill/post.hoon4
1 files changed, 3 insertions, 1 deletions
diff --git a/desk/lib/trill/post.hoon b/desk/lib/trill/post.hoon
index 5bed037..968bcad 100644
--- a/desk/lib/trill/post.hoon
+++ b/desk/lib/trill/post.hoon
@@ -2,7 +2,7 @@
/+ sr=sortug, mdlib=markdown
|%
++ build-sp
- |= [host=@p author=@p input=@t]
+ |= [host=@p author=@p input=@t parent=(unit @) thread=(unit @)]
^- sent-post:tp
=/ cl (tokenise input)
~| "parsing error!!"
@@ -12,6 +12,8 @@
host host
author author
contents +.cl
+ parent parent
+ thread thread
==
++ build-post
|= [now=@da pubkey=@ux sp=sent-post:tp]