mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
chat: serialize %keys to JSON for chat update
This commit is contained in:
parent
b0d252fa76
commit
058ec8aa2c
@ -93,7 +93,11 @@
|
|||||||
[%create (pairs [%path (path path.upd)]~)]
|
[%create (pairs [%path (path path.upd)]~)]
|
||||||
?: ?=(%delete -.upd)
|
?: ?=(%delete -.upd)
|
||||||
[%delete (pairs [%path (path path.upd)]~)]
|
[%delete (pairs [%path (path path.upd)]~)]
|
||||||
[*@t *json]
|
?> ?=(%keys -.upd)
|
||||||
|
:- %keys
|
||||||
|
:- %a
|
||||||
|
%+ turn ~(tap by keys.upd)
|
||||||
|
|= pax=^path (path pax)
|
||||||
==
|
==
|
||||||
--
|
--
|
||||||
++ dejs
|
++ dejs
|
||||||
|
Loading…
Reference in New Issue
Block a user