publish: don't let group-pull-hook go into an infinite loop

This commit is contained in:
Isaac Visintainer 2020-07-27 13:37:08 -06:00
parent b3a7266440
commit cf57af3065

View File

@ -2048,9 +2048,11 @@
(emit-updates-and-state host.del book.del data.del del sty)
=/ rid=resource
(de-path:resource writers.data.del)
=? cards !=(our.bol entity.rid)
:_ cards
(group-pull-hook-poke [%add host.del rid])
:_ state
:* (group-pull-hook-poke [%add host.del rid])
(metadata-hook-poke [%add-synced host.del writers.data.del])
:* (metadata-hook-poke [%add-synced host.del writers.data.del])
cards
==
::