From 955f9e59165504c13dfdc5953db5c88b59c01733 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 17 Mar 2020 21:03:29 -0400 Subject: [PATCH] Fix attachment descriptions not being set correctly --- Tusker/Screens/Compose/ComposeAttachmentsViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Compose/ComposeAttachmentsViewController.swift b/Tusker/Screens/Compose/ComposeAttachmentsViewController.swift index d5da384d..ad58543d 100644 --- a/Tusker/Screens/Compose/ComposeAttachmentsViewController.swift +++ b/Tusker/Screens/Compose/ComposeAttachmentsViewController.swift @@ -154,7 +154,7 @@ class ComposeAttachmentsViewController: UITableViewController { stepProgress() let formAttachment = FormAttachment(mimeType: mimeType, data: data, fileName: "file") - let request = Client.upload(attachment: formAttachment, description: compAttachment.description) + let request = Client.upload(attachment: formAttachment, description: compAttachment.attachmentDescription) self.mastodonController.run(request) { (response) in switch response { case let .failure(error):