Merge branch 'main' into content_warning_fixes

This commit is contained in:
tobi 2025-03-07 10:52:56 +01:00
commit aa5713fc38
26 changed files with 572 additions and 26 deletions

View file

@ -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},