From 8cf5c263d370042778eb340093971c1faabd4e9d Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Sun, 13 Mar 2022 04:12:08 +0100 Subject: [PATCH] s/message/caption/ --- mastodon/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/post.go b/mastodon/post.go index 7b58e30..5caba14 100644 --- a/mastodon/post.go +++ b/mastodon/post.go @@ -45,7 +45,7 @@ func PostPhoto( log.Printf("Posted attachment %s", attachment.TextURL) mediaIds := [...]mastodonapi.ID{attachment.ID} - // 1. Post the photo with the first part of the message. + // 1. Post the photo with the first part of the caption. status, err := client.PostStatus(context.Background(), &mastodonapi.Toot{ Status: messages[0], MediaIDs: mediaIds[:],