set PendingApproval on boosts

This commit is contained in:
tobi 2024-10-11 14:16:17 +02:00
commit e0440ca50e

View file

@ -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.