mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 23:27:29 -06:00
Merge branch 'main' into content_warning_fixes
This commit is contained in:
commit
aa5713fc38
26 changed files with 572 additions and 26 deletions
2
internal/cache/size.go
vendored
2
internal/cache/size.go
vendored
|
|
@ -649,6 +649,7 @@ func sizeofStatus() uintptr {
|
|||
URL: exampleURI,
|
||||
Content: exampleText,
|
||||
Text: exampleText,
|
||||
ContentType: gtsmodel.StatusContentTypePlain,
|
||||
AttachmentIDs: []string{exampleID, exampleID, exampleID},
|
||||
TagIDs: []string{exampleID, exampleID, exampleID},
|
||||
MentionIDs: []string{},
|
||||
|
|
@ -695,6 +696,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