1
0
Fork 0
Browse Source

s/message/caption/

main
Daniele Tricoli 4 months ago
parent
commit
8cf5c263d3
  1. 2
      mastodon/post.go

2
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[:],

Loading…
Cancel
Save