s/message/caption/
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
38101bd2a5
commit
8cf5c263d3
|
@ -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…
Reference in New Issue