From e77237d1a10c41d6686c52d8a248507cb4b856b7 Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Tue, 29 Oct 2019 15:20:28 +0800 Subject: [PATCH] Revert "chat-hook: use sender's timestamp" This reverts commit 22ddb712ffdb5f506d0022f1388948139491d164, which I merged prematurely. See later commentary in #1889. Signed-off-by: Jared Tobin --- pkg/arvo/app/chat-hook.hoon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/chat-hook.hoon b/pkg/arvo/app/chat-hook.hoon index 874aeda66..1665b5d0a 100644 --- a/pkg/arvo/app/chat-hook.hoon +++ b/pkg/arvo/app/chat-hook.hoon @@ -69,7 +69,9 @@ :: scry permissions to check if write is permitted ?. (permitted-scry [(scot %p src.bol) %chat (weld path.act /write)]) ~ - =. author.envelope.act src.bol + =: author.envelope.act src.bol + when.envelope.act now.bol + == [ost.bol %poke / [our.bol %chat-store] [%chat-action act]]~ :: ++ poke-chat-hook-action