diff options
author | 2023-10-30 19:01:00 +0100 | |
---|---|---|
committer | 2023-10-30 19:01:00 +0100 | |
commit | dd4b0241eaf392d4f2c8c040625c53b6997c5c3b (patch) | |
tree | 44b7109ffea76b542132768eddc516e3b520e348 /internal/processing/account/statuses.go | |
parent | [feature] Customizable media cleaner schedule (#2304) (diff) | |
download | gotosocial-dd4b0241eaf392d4f2c8c040625c53b6997c5c3b.tar.xz |
[bugfix] Allow blocked accounts to show in precise search (#2321)
Diffstat (limited to 'internal/processing/account/statuses.go')
-rw-r--r-- | internal/processing/account/statuses.go | 5 |
1 files changed, 3 insertions, 2 deletions
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 } } |