From e0440ca50e9036662b147a45d277153f0c2d170b Mon Sep 17 00:00:00 2001 From: tobi Date: Fri, 11 Oct 2024 14:16:17 +0200 Subject: [PATCH] set PendingApproval on boosts --- internal/typeutils/astointernal.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/typeutils/astointernal.go b/internal/typeutils/astointernal.go index dcb687e7d..cf0c0719a 100644 --- a/internal/typeutils/astointernal.go +++ b/internal/typeutils/astointernal.go @@ -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.