Skip to content

Commit

Permalink
Fix albums did not handle uploaded files (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrielFR authored Sep 29, 2024
1 parent d180f02 commit 0dc27ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/grammers-client/src/client/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@ impl Client {

if matches!(
raw_media,
tl::enums::InputMedia::PhotoExternal(_)
tl::enums::InputMedia::UploadedPhoto(_)
| tl::enums::InputMedia::PhotoExternal(_)
| tl::enums::InputMedia::UploadedDocument(_)
| tl::enums::InputMedia::DocumentExternal(_)
) {
let uploaded = self
Expand Down

0 comments on commit 0dc27ee

Please sign in to comment.