From 9c42ad5682ff881ecc54ebaa945e38440c5e4473 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Fri, 22 Sep 2023 13:53:57 -0400 Subject: [PATCH] Fix-up attachment w/o filename. --- tests/media_filename_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/media_filename_test.go b/tests/media_filename_test.go index cd4ee669..c1138a79 100644 --- a/tests/media_filename_test.go +++ b/tests/media_filename_test.go @@ -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" {