Skip to content

Commit

Permalink
Merge pull request #3227 from tloncorp/m/unversion-reply-scry
Browse files Browse the repository at this point in the history
channels: make reply scry response match mark type
  • Loading branch information
arthyn authored Feb 9, 2024
2 parents 54d5970 + 4688c61 commit ddafc50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions desk/app/channels.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
=/ =rope:ha (ca-rope -.kind-data.post id-post ~)
?: (was-mentioned:utils content.post our.bowl)
?. (want-hark %mention)
ca-core
ca-core
=/ cs=(list content:ha)
~[[%ship author.post] ' mentioned you: ' (flatten:utils content.post)]
(emit (pass-hark (ca-spin rope cs ~)))
Expand Down Expand Up @@ -1369,11 +1369,11 @@
=/ post (get:on posts.channel `@da`time)
?~ post ~
?~ u.post `~
(ca-peek-replies replies.u.u.post rest.pole)
(ca-peek-replies id.u.u.post replies.u.u.post rest.pole)
==
::
++ ca-peek-replies
|= [replies=v-replies:c =(pole knot)]
|= [parent-id=id-post:c replies=v-replies:c =(pole knot)]
^- (unit (unit cage))
=* on on-v-replies:c
?+ pole [~ ~]
Expand All @@ -1397,7 +1397,7 @@
=/ reply (get:on-v-replies:c replies `@da`time)
?~ reply ~
?~ u.reply `~
``channel-reply+!>(u.u.reply)
``channel-reply+!>(`reply:c`(uv-reply:utils parent-id u.u.reply))
==
::
++ ca-search
Expand Down

0 comments on commit ddafc50

Please sign in to comment.