Skip to content

Commit

Permalink
Fix-up attachment w/o filename.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Sep 22, 2023
1 parent 6f8d386 commit 9c42ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/media_filename_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func downloadForFilename(t *testing.T, c *client.CSAPI, mxcUri string, diffName
if hasFilename {
return filename, true
} else {
t.Fatalf("Content Disposition did not have filename")
return "", true
}
}
if mediaType != "inline" {
Expand Down

0 comments on commit 9c42ad5

Please sign in to comment.