rm unnecessary push

This commit is contained in:
Daniel Edrisian
2025-08-21 15:49:07 -07:00
parent 422cc8a4d0
commit 38cb33339d

View File

@@ -210,11 +210,7 @@ impl ChatComposer {
Ok((w, h)) => {
tracing::info!("OK: {pasted}");
let format_label = get_img_format_label(path_buf.clone());
if self.attach_image(path_buf, w, h, &format_label) {
self.pending_pastes.push(("image".into(), "image".into()));
return true;
}
false
self.attach_image(path_buf, w, h, &format_label)
}
Err(err) => {
tracing::info!("ERR: {err}");