mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-28 22:56:14 -06:00
[bugfix] Ensure side effects for local -> local follows get processed (#2820)
This commit is contained in:
parent
85bc140b58
commit
6db7d014dc
2 changed files with 37 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func (p *Processor) FollowCreate(ctx context.Context, requestingAccount *gtsmode
|
|||
err = gtserror.Newf("error accepting follow request for local unlocked account: %w", err)
|
||||
return nil, gtserror.NewErrorInternalError(err)
|
||||
}
|
||||
} else if targetAccount.IsRemote() {
|
||||
} else {
|
||||
// Otherwise we leave the follow request as it is,
|
||||
// and we handle the rest of the process async.
|
||||
p.state.Workers.EnqueueClientAPI(ctx, messages.FromClientAPI{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue