2020-11-05 05:23:34 +03:00
|
|
|
:: hark-chat-hook: notifications for chat-store [landscape]
|
|
|
|
::
|
2020-11-24 05:20:44 +03:00
|
|
|
/+ default-agent
|
2020-11-05 05:23:34 +03:00
|
|
|
::
|
|
|
|
^- agent:gall
|
|
|
|
|_ =bowl:gall
|
|
|
|
+* this .
|
|
|
|
def ~(. (default-agent this %|) bowl)
|
2020-11-24 05:20:44 +03:00
|
|
|
++ on-init [~ this]
|
|
|
|
++ on-save !>(~)
|
2020-11-05 05:23:34 +03:00
|
|
|
++ on-load
|
2020-11-24 05:20:44 +03:00
|
|
|
|= =vase
|
2020-12-10 00:45:26 +03:00
|
|
|
:_ this
|
|
|
|
~[%pass /chat %agent [our.bowl %chat-store] %leave ~]
|
2020-11-24 05:20:44 +03:00
|
|
|
++ on-arvo on-arvo:def
|
|
|
|
++ on-agent on-agent:def
|
|
|
|
++ on-poke on-poke:def
|
|
|
|
++ on-peek on-peek:def
|
|
|
|
++ on-watch on-watch:def
|
2020-11-05 05:23:34 +03:00
|
|
|
++ on-leave on-leave:def
|
|
|
|
++ on-fail on-fail:def
|
|
|
|
--
|