Skip to content

Commit

Permalink
fixup! feat(send queue): allow aborting media uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Nov 14, 2024
1 parent 88ef6f4 commit 0c18db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk/src/send_queue/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ impl QueueStorage {
let mut removed_dependent_event = false;

if let Some(thumbnail_txn) = &handles.upload_thumbnail_txn {
if store.remove_send_queue_request(&self.room_id, &thumbnail_txn).await? {
if store.remove_send_queue_request(&self.room_id, thumbnail_txn).await? {
// The thumbnail upload existed as a request: either it was pending (something
// else was being sent), or it was actively being sent.
trace!("could remove thumbnail request, removing 2 dependent requests now");
Expand Down

0 comments on commit 0c18db1

Please sign in to comment.