mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 12:36:15 -06:00
Set ContentType in more places where Text is set
This commit is contained in:
parent
0969007c61
commit
9a60a9f1c2
4 changed files with 33 additions and 0 deletions
1
internal/cache/size.go
vendored
1
internal/cache/size.go
vendored
|
|
@ -695,6 +695,7 @@ func sizeofStatusEdit() uintptr {
|
|||
Content: exampleText,
|
||||
ContentWarning: exampleUsername, // similar length
|
||||
Text: exampleText,
|
||||
ContentType: gtsmodel.StatusContentTypePlain,
|
||||
Language: "en",
|
||||
Sensitive: func() *bool { ok := false; return &ok }(),
|
||||
AttachmentIDs: []string{exampleID, exampleID, exampleID},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue