Skip to content

Commit

Permalink
Update src/builder/create_attachment.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Krasnitski <[email protected]>
  • Loading branch information
kangalio and mkrasnitski authored Oct 31, 2023
1 parent 9e564dd commit e6312f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builder/create_attachment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ impl EditAttachments {
files
}

#[cfg(feature = "cache")]
pub(crate) fn is_empty(&self) -> bool {
self.new_and_existing_attachments.is_empty()
}
Expand Down

0 comments on commit e6312f1

Please sign in to comment.