1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-22 02:11:38 +03:00

link-store: always mark our own submission as seen

This commit is contained in:
Fang 2020-02-14 01:55:17 +01:00
parent 102424af40
commit fafe4cf2bd
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -235,12 +235,16 @@
=. by-group (~(put by by-group) path links)
:: do generic submission logic
::
=^ cards state
=^ submission-cards state
(hear-submission path [our.bowl page])
:: mark page as seen (because we submitted it ourselves)
::
=^ seen-cards state
(seen-submission path `url)
:: send updates to subscribers
::
:_ state
:_ cards
:_ (weld submission-cards seen-cards)
:+ %give %fact
:+ :~ /local-pages
[%local-pages path]