mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 07:46:15 -06:00
set PendingApproval on boosts
This commit is contained in:
parent
57e1e820c8
commit
e0440ca50e
1 changed files with 4 additions and 0 deletions
|
|
@ -664,6 +664,10 @@ func (c *Converter) ASAnnounceToStatus(
|
|||
boost.MentionIDs = make([]string, 0)
|
||||
boost.EmojiIDs = make([]string, 0)
|
||||
|
||||
// Assume not pending approval; this may
|
||||
// change when permissivity is checked.
|
||||
boost.PendingApproval = util.Ptr(false)
|
||||
|
||||
// Remaining fields on the boost will be
|
||||
// taken from the target status; it's not
|
||||
// our job to do all that dereferencing here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue