Update open graph data (#2760)

* Update open graph data

* Format

* Fix typo
This commit is contained in:
Eric Bailey 2024-02-06 20:52:04 -06:00 committed by GitHub
parent 29b31b7739
commit 541eb8ded1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 54 additions and 11 deletions

View file

@ -51,7 +51,7 @@ func ExpandPostText(post *appbsky.FeedPost) string {
}
// TODO: could embed the actual post text?
if post.Embed != nil && (post.Embed.EmbedRecord != nil || post.Embed.EmbedRecordWithMedia != nil) {
postText = fmt.Sprintf("%s\n\n[contains quote post or other embeded content]", postText)
postText = fmt.Sprintf("%s\n\n[contains quote post or other embedded content]", postText)
}
return postText
}