Skip to content

Commit

Permalink
Merge pull request #3214 from tloncorp/lb/admin-del-reply
Browse files Browse the repository at this point in the history
chat: allow admins to delete replies
  • Loading branch information
arthyn authored Feb 6, 2024
2 parents b9b4c98 + afae757 commit 631becb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desk/app/channels-server.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
=/ reply (get:on-v-replies:c replies id.c-reply)
?~ reply `(put:on-v-replies:c replies id.c-reply ~)
?~ u.reply `replies
?> =(src.bowl author.u.u.reply)
?> |(=(src.bowl author.u.u.reply) (is-admin:ca-perms src.bowl))
:- `[%reply id.c-reply %set ~]
(put:on-v-replies:c replies id.c-reply ~)
::
Expand Down

0 comments on commit 631becb

Please sign in to comment.