Добавил включение/отключение NSFW штук
This commit is contained in:
parent
1f1c964e91
commit
fef2d2fdb6
4 changed files with 7 additions and 6 deletions
|
|
@ -128,7 +128,7 @@ func UploadPictures(mastoClient mastodon.Client, filesBytes [][]byte) []*mastodo
|
|||
return attachments
|
||||
}
|
||||
|
||||
func CreateToot(mastoClient mastodon.Client, newsDesc *gofeed.Item) (mastodon.Toot, error) {
|
||||
func CreateToot(mastoClient mastodon.Client, newsDesc *gofeed.Item, sensitive bool) (mastodon.Toot, error) {
|
||||
var imgArray []string
|
||||
var attachments []*mastodon.Attachment
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue