Забыл добавить переменную для NSFW...
This commit is contained in:
parent
4d38338506
commit
10474bb165
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ func CreateToot(mastoClient mastodon.Client, newsDesc *gofeed.Item, sensitive bo
|
|||
|
||||
toot := mastodon.Toot{
|
||||
Visibility: "unlisted",
|
||||
Sensitive: true,
|
||||
Sensitive: sensitive,
|
||||
}
|
||||
|
||||
uString := html.UnescapeString(newsDesc.Description)
|
||||
|
|
Loading…
Add table
Reference in a new issue