diff options
author | 2024-10-11 15:21:45 +0200 | |
---|---|---|
committer | 2024-10-11 15:21:45 +0200 | |
commit | cb9008fb412e75e6ec8c2f5970fb5530aed7bb3a (patch) | |
tree | e89c23564a7c171ca6cbf254e6e3efe767157947 /internal/processing | |
parent | [chore] Create modernc sqlite builds alongside default wasm; add openbsd buil... (diff) | |
download | gotosocial-cb9008fb412e75e6ec8c2f5970fb5530aed7bb3a.tar.xz |
[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
Diffstat (limited to 'internal/processing')
-rw-r--r-- | internal/processing/status/create.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/processing/status/create.go b/internal/processing/status/create.go index 184a92680..55a78610f 100644 --- a/internal/processing/status/create.go +++ b/internal/processing/status/create.go @@ -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 { |