From afae7578d1cf761cb6628bda047232236ec0f7d1 Mon Sep 17 00:00:00 2001 From: ~latter-bolden Date: Tue, 6 Feb 2024 17:46:25 -0500 Subject: [PATCH] channels server: on reply delete, check if action is from admin rather than just if author --- desk/app/channels-server.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desk/app/channels-server.hoon b/desk/app/channels-server.hoon index acd012d44a..079f8b285a 100644 --- a/desk/app/channels-server.hoon +++ b/desk/app/channels-server.hoon @@ -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 ~) ::