mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
31 lines
428 B
Plaintext
31 lines
428 B
Plaintext
/- sur=hark-chat-hook
|
|
^?
|
|
=< [. sur]
|
|
=, sur
|
|
|%
|
|
++ dejs
|
|
=, dejs:format
|
|
|%
|
|
++ action
|
|
%- of
|
|
:~ listen+pa
|
|
ignore+pa
|
|
set-mentions+bo
|
|
==
|
|
--
|
|
::
|
|
++ enjs
|
|
=, enjs:format
|
|
|%
|
|
++ update
|
|
|= upd=^update
|
|
%+ frond -.upd
|
|
?- -.upd
|
|
?(%listen %ignore) (path chat.upd)
|
|
%set-mentions b+mentions.upd
|
|
%initial a+(turn ~(tap in watching.upd) path)
|
|
==
|
|
--
|
|
--
|
|
|