From b6743b9f44d17e827d4b83d0bf5efb9be40a680e Mon Sep 17 00:00:00 2001 From: kim Date: Thu, 30 Jan 2025 15:13:01 +0000 Subject: [PATCH] fix boost of account ID check --- internal/typeutils/internaltofrontend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index d5c7cb0b1..71ff71f8b 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -943,8 +943,8 @@ func (c *Converter) statusToAPIFilterResults( // Both mutes and filters can expire. now := time.Now() - // If requesting account mutes the author (taking boosts into account), hide it. - if (s.BoostOfAccountID != "" && mutes.Matches(s.AccountID, filterContext, now)) || + // If requesting account mutes the author (taking boosts into account), hide the status. + if (s.BoostOfAccountID != "" && mutes.Matches(s.BoostOfAccountID, filterContext, now)) || mutes.Matches(s.AccountID, filterContext, now) { return nil, statusfilter.ErrHideStatus }