mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
24 lines
783 B
Plaintext
24 lines
783 B
Plaintext
|%
|
|
+$ chat-security
|
|
$? $channel :: black r, black w
|
|
$village :: white r, white w
|
|
$journal :: black r, white w
|
|
$mailbox :: white r, black w
|
|
==
|
|
::
|
|
+$ chat-hook-action
|
|
$% :: %add-owned: make a chatroom accessible to foreign ships
|
|
:: specified by the chat-security model
|
|
::
|
|
[%add-owned =path security=chat-security]
|
|
:: %add-synced: mirror a foreign chatroom to our chat-store
|
|
::
|
|
[%add-synced =ship =path]
|
|
:: %remove: stop mirroring a foreign chatroom or allowing a local
|
|
:: chatroom to be mirrored
|
|
::
|
|
[%remove =path]
|
|
==
|
|
--
|
|
|