pub(crate) async fn pre_sending_config_change( context: &Context, old_value: bool, new_value: bool, ) -> Result<()>