summaryrefslogtreecommitdiff
path: root/internal/processing/account/follow.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-04-08 11:51:51 +0200
committerLibravatar GitHub <noreply@github.com>2024-04-08 11:51:51 +0200
commit6db7d014dca9a2954ea7b5cd110a48e3d84673bf (patch)
treeba01923cee3d4ae6cbe49cdfa805e6a379264e9b /internal/processing/account/follow.go
parent[bugfix] temporarily replace `modernc.org/sqlite-v1.29.5` with `gitlab.com/Ny... (diff)
downloadgotosocial-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.go2
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{