urbit/pkg/arvo/sur/chat-hook.hoon

20 lines
480 B
Plaintext
Raw Normal View History

/- *rw-security
^?
|%
+$ synced (map path ship)
+$ action
$% :: %add-owned: make a chatroom accessible to foreign ships
::
[%add-owned =path allow-history=?]
:: %add-synced: mirror a foreign chatroom to our chat-store
::
[%add-synced =ship =path ask-history=?]
:: %remove: stop mirroring a foreign chatroom or allowing a local
:: chatroom to be mirrored
::
[%remove =path]
==
::
+$ update [%initial =synced]
--