From 4f1711a02f52cc277b6bac0dea0f67b38731a20b Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 10 Jun 2020 12:52:29 +1000 Subject: [PATCH] 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 --- pkg/arvo/app/chat-view.hoon | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/app/chat-view.hoon b/pkg/arvo/app/chat-view.hoon index 50e80bd43e..5dbd0a9e55 100644 --- a/pkg/arvo/app/chat-view.hoon +++ b/pkg/arvo/app/chat-view.hoon @@ -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