[bugfix] Ensure pending_approval set on statuses + status faves (#3415)

* [bugfix] Ensure pending_approval set on statuses + status faves

* set PendingApproval on boosts

* assume not pending approval
This commit is contained in:
tobi
2024-10-11 15:21:45 +02:00
committed by GitHub
parent a504d8a105
commit cb9008fb41
4 changed files with 109 additions and 13 deletions

View File

@ -78,6 +78,10 @@ func (p *Processor) Create(
Sensitive: &form.Sensitive,
CreatedWithApplicationID: application.ID,
Text: form.Status,
// Assume not pending approval; this may
// change when permissivity is checked.
PendingApproval: util.Ptr(false),
}
if form.Poll != nil {