[bugfix] Allow blocked accounts to show in precise search (#2321)

This commit is contained in:
tobi
2023-10-30 19:01:00 +01:00
committed by GitHub
parent 4dc0547dc0
commit dd4b0241ea
8 changed files with 390 additions and 146 deletions

View File

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