Merge branch 'chat-hook-when' (#1889)

* chat-hook-when:
  chat-hook: use sender's timestamp

Signed-off-by: Jared Tobin <jared@tlon.io>
This commit is contained in:
Jared Tobin 2019-10-28 04:20:10 +08:00
commit 2a386d6c47
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -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