diff --git a/src/main.rs b/src/main.rs index 8208b64..9fc1299 100644 --- a/src/main.rs +++ b/src/main.rs @@ -242,6 +242,7 @@ async fn edit_msg_handler( match msg.media_kind { MediaKind::Text(text) => { + db.drop_media(&literal).await.unwrap(); if is_caption_set { return Ok(()); };