diff --git a/src/message.rs b/src/message.rs index a9fd70cd77..92c5b5c16f 100644 --- a/src/message.rs +++ b/src/message.rs @@ -1826,8 +1826,8 @@ pub(crate) async fn update_msg_state( context .sql .execute( - &format!("UPDATE msgs SET state=?1 {error_subst} WHERE id=?2 AND (?1!=?3 OR state