- return Err(LemmyError::from_message("no_comment_edit_allowed"));
- }
-
- if data.distinguished.is_some() {
- // Verify that only a mod or admin can distinguish a comment
- is_mod_or_admin(
- context.pool(),
- local_user_view.person.id,
- orig_comment.community.id,
- )
- .await?;