urbit/pkg/arvo/mar/graph/validator/chat.hoon
2020-12-01 15:46:28 +10:00

22 lines
279 B
Plaintext

/- *post
|_ i=indexed-post
++ grow
|%
++ noun i
++ notification-kind
?+ index.p.i ~
[@ ~] `[%message 0 %count]
==
--
++ grab
|%
++ noun
|= p=*
=/ ip ;;(indexed-post p)
?> ?=([@ ~] index.p.ip)
ip
--
::
++ grad %noun
--