chat-view: bind eyre in ++on-init

chat-view bound to eyre in ++on-load but not in ++on-init, causing
freshly booted ships to be unable to access chat backlog
This commit is contained in:
Liam Fitzgerald 2020-06-10 12:52:29 +10:00
parent 10262a243f
commit 4f1711a02f

View File

@ -46,11 +46,13 @@
++ on-init
^- (quip card _this)
:_ this
:- :* %pass /srv %agent [our.bol %file-server]
:~ :* %pass /srv %agent [our.bol %file-server]
%poke %file-server-action
!>([%serve-dir /'~chat' /app/landscape %.n])
==
[%pass /updates %agent [our.bol %chat-store] %watch /updates]~
[%pass / %arvo %e %connect [~ /'chat-view'] %chat-view]
[%pass /updates %agent [our.bol %chat-store] %watch /updates]
==
::
++ on-poke
~/ %chat-view-poke