mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-09 11:57:30 -06:00
[feature] Parse content warning as HTML, serialize via API to plaintext
This commit is contained in:
parent
69461c461b
commit
22ce924129
47 changed files with 947 additions and 553 deletions
1
internal/cache/size.go
vendored
1
internal/cache/size.go
vendored
|
|
@ -665,6 +665,7 @@ func sizeofStatus() uintptr {
|
|||
BoostOfID: exampleID,
|
||||
BoostOfAccountID: exampleID,
|
||||
ContentWarning: exampleUsername, // similar length
|
||||
ContentWarningText: exampleUsername, // similar length
|
||||
Visibility: gtsmodel.VisibilityPublic,
|
||||
Sensitive: func() *bool { ok := false; return &ok }(),
|
||||
Language: "en",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue