mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-04 08:13:16 -06:00
found it
This commit is contained in:
parent
a04717b033
commit
279da5ac5f
10 changed files with 99 additions and 30 deletions
|
|
@ -130,7 +130,7 @@ func (p *processor) searchStatusByURI(ctx context.Context, authed *oauth.Auth, u
|
|||
|
||||
// we don't have it locally so dereference it if we're allowed to
|
||||
if resolve {
|
||||
status, _, _, err := p.federator.GetRemoteStatus(ctx, authed.Account.Username, uri, true, false, false)
|
||||
status, _, _, err := p.federator.GetRemoteStatus(ctx, authed.Account.Username, uri, true, true)
|
||||
if err == nil {
|
||||
if err := p.federator.DereferenceRemoteThread(ctx, authed.Account.Username, uri); err != nil {
|
||||
// try to deref the thread while we're here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue