refactor: Remove unused blob functions (#6563)

This commit is contained in:
Hocuri
2025-02-24 11:02:26 +01:00
committed by GitHub
parent b916937a7a
commit fbf3ff0112
14 changed files with 88 additions and 411 deletions

View File

@@ -1628,8 +1628,7 @@ async fn build_body_file(context: &Context, msg: &Message) -> Result<MimePart<'s
let blob = msg
.param
.get_blob(Param::File, context)
.await?
.get_file_blob(context)?
.context("msg has no file")?;
// Get file name to use for sending. For privacy purposes, we do