Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAND-1568: Add contact on new post fix #3252

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions desk/app/channels.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,8 @@
(max recency.remark.channel id-post)
?~ post
=/ post=(unit post:c) (bind post.u-post uv-post:utils)
=? ca-core ?=(^ post.u-post)
(ca-heed ~[author.u.post.u-post])
=? ca-core ?=(^ post.u-post)
::TODO what about the "mention was added during edit" case?
(on-post:ca-hark id-post u.post.u-post)
Expand All @@ -932,6 +934,7 @@
=. posts.channel (put:on-v-posts:c posts.channel id-post ~)
(ca-response %post id-post %set ~)
::
=. ca-core (ca-heed ~[author.u.post.u-post])
=* old u.u.post
=* new u.post.u-post
=/ merged (ca-apply-post id-post old new)
Expand Down
Loading