mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 08:07:28 -06:00
[bugfix] Allow blocked accounts to show in precise search (#2321)
This commit is contained in:
parent
4dc0547dc0
commit
dd4b0241ea
8 changed files with 390 additions and 146 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue