mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 13:27:28 -06:00
[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:
parent
a504d8a105
commit
cb9008fb41
4 changed files with 109 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue