From f65f949a36737f81e99aa64fca334706e0f1f646 Mon Sep 17 00:00:00 2001 From: Emma Alexia Triphora Date: Fri, 15 Sep 2023 15:39:03 -0400 Subject: [PATCH] Fix issue with thread messages not being sent to moderators on non-processing projects (#705) --- src/routes/v2/threads.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/routes/v2/threads.rs b/src/routes/v2/threads.rs index 8ec21805..c2e6c096 100644 --- a/src/routes/v2/threads.rs +++ b/src/routes/v2/threads.rs @@ -412,11 +412,9 @@ pub async fn thread_send_message( ) .await?; } - - project.inner.status == ProjectStatus::Processing && !user.role.is_mod() - } else { - !user.role.is_mod() } + + !user.role.is_mod() } else if let Some(report_id) = thread.report_id { let report = database::models::report_item::Report::get(report_id, &**pool).await?;