1
0
Fork 0

s/message/caption/
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniele Tricoli 2022-03-13 04:12:08 +01:00
parent 38101bd2a5
commit 8cf5c263d3
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func PostPhoto(
log.Printf("Posted attachment %s", attachment.TextURL) log.Printf("Posted attachment %s", attachment.TextURL)
mediaIds := [...]mastodonapi.ID{attachment.ID} 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, err := client.PostStatus(context.Background(), &mastodonapi.Toot{
Status: messages[0], Status: messages[0],
MediaIDs: mediaIds[:], MediaIDs: mediaIds[:],