From dd4b0241eaf392d4f2c8c040625c53b6997c5c3b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 30 Oct 2023 19:01:00 +0100 Subject: [bugfix] Allow blocked accounts to show in precise search (#2321) --- internal/processing/account/statuses.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/processing/account/statuses.go') diff --git a/internal/processing/account/statuses.go b/internal/processing/account/statuses.go index 716157a14..1bdd3906b 100644 --- a/internal/processing/account/statuses.go +++ b/internal/processing/account/statuses.go @@ -52,8 +52,9 @@ func (p *Processor) StatusesGet( } if blocked { - err := errors.New("block exists between accounts") - return nil, gtserror.NewErrorNotFound(err) + // Block exists between accounts. + // Just return empty statuses. + return util.EmptyPageableResponse(), nil } } -- cgit v1.2.3