From 22ddb712ffdb5f506d0022f1388948139491d164 Mon Sep 17 00:00:00 2001 From: Fang Date: Sun, 27 Oct 2019 13:43:26 +0100 Subject: [PATCH] chat-hook: use sender's timestamp No longer overwrite messages' timestamp on-receive, instead keeping whatever timestamp was set by the sender. This behavior matches that of the late Hall. --- pkg/arvo/app/chat-hook.hoon | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/arvo/app/chat-hook.hoon b/pkg/arvo/app/chat-hook.hoon index 1665b5d0a..874aeda66 100644 --- a/pkg/arvo/app/chat-hook.hoon +++ b/pkg/arvo/app/chat-hook.hoon @@ -69,9 +69,7 @@ :: scry permissions to check if write is permitted ?. (permitted-scry [(scot %p src.bol) %chat (weld path.act /write)]) ~ - =: author.envelope.act src.bol - when.envelope.act now.bol - == + =. author.envelope.act src.bol [ost.bol %poke / [our.bol %chat-store] [%chat-action act]]~ :: ++ poke-chat-hook-action