urbit/pkg/arvo/app/chat-view.hoon

36 lines
687 B
Plaintext
Raw Normal View History

2020-12-11 06:41:25 +03:00
:: chat-view [landscape]: deprecated
::
2020-12-11 06:41:25 +03:00
/+ default-agent
2019-11-23 02:02:31 +03:00
|%
+$ card card:agent:gall
--
::
2019-11-23 02:02:31 +03:00
^- agent:gall
|_ bol=bowl:gall
2020-12-11 06:41:25 +03:00
+* this .
def ~(. (default-agent this %|) bol)
::
++ on-init
^- (quip card _this)
:_ this
:~ :* %pass /srv %agent [our.bol %file-server]
%poke %file-server-action
!>([%serve-dir /'~chat' /app/landscape %.n %.y])
==
==
2019-11-23 02:02:31 +03:00
::
2020-12-11 06:41:25 +03:00
++ on-poke on-poke:def
++ on-watch on-watch:def
++ on-agent on-agent:def
++ on-arvo on-arvo:def
++ on-save !>(~)
++ on-load
|= old-vase=vase
^- (quip card _this)
[~ this]
2020-05-25 08:52:54 +03:00
::
2020-12-11 06:41:25 +03:00
++ on-leave on-leave:def
++ on-peek on-peek:def
++ on-fail on-fail:def
2019-11-23 02:02:31 +03:00
--