[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
commit cb9008fb41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 {