diff options
| author | 2024-04-08 11:51:51 +0200 | |
|---|---|---|
| committer | 2024-04-08 11:51:51 +0200 | |
| commit | 6db7d014dca9a2954ea7b5cd110a48e3d84673bf (patch) | |
| tree | ba01923cee3d4ae6cbe49cdfa805e6a379264e9b /internal/processing/account/follow.go | |
| parent | [bugfix] temporarily replace `modernc.org/sqlite-v1.29.5` with `gitlab.com/Ny... (diff) | |
| download | gotosocial-0.15.0-rc2.tar.xz | |
[bugfix] Ensure side effects for local -> local follows get processed (#2820)v0.15.0-rc2
Diffstat (limited to 'internal/processing/account/follow.go')
| -rw-r--r-- | internal/processing/account/follow.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/account/follow.go b/internal/processing/account/follow.go index 8006f8d79..7f28bb2c0 100644 --- a/internal/processing/account/follow.go +++ b/internal/processing/account/follow.go @@ -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{ |
