From 1c939b486194a4cf69ca94485f71aa94071faa0c Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 7 Apr 2021 13:52:48 +1000 Subject: [PATCH] graph-validator-post: enable unreads and notifications --- pkg/arvo/mar/graph/validator/post.hoon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/mar/graph/validator/post.hoon b/pkg/arvo/mar/graph/validator/post.hoon index 208890fcb..a12e62e72 100644 --- a/pkg/arvo/mar/graph/validator/post.hoon +++ b/pkg/arvo/mar/graph/validator/post.hoon @@ -22,8 +22,9 @@ ++ notification-kind ^- (unit notif-kind:hark) =/ len (lent index.p.i) - ?: =(1 len) ~ - `[%post [(dec len) len] %none %children] + =/ =mode:hark + ?:(=(1 len) %count %none) + `[%post [(dec len) len] mode %children] :: ++ transform-add-nodes |= [=index =post =atom was-parent-modified=?]