summaryrefslogtreecommitdiff
path: root/internal/processing/fromclientapi.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-01 19:08:50 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-01 19:08:50 +0200
commit9ce4234b9fd1e201faf015df52bfc35db259dd46 (patch)
tree98c27c89aa018fafabf00e4e462f1af84208c760 /internal/processing/fromclientapi.go
parentrework mention replacement func (#258) (diff)
downloadgotosocial-9ce4234b9fd1e201faf015df52bfc35db259dd46.tar.xz
Follow request auto approval (#259)
* start messing about * fiddle more * Tests & fiddling
Diffstat (limited to 'internal/processing/fromclientapi.go')
-rw-r--r--internal/processing/fromclientapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/fromclientapi.go b/internal/processing/fromclientapi.go
index 79860b5a9..e15299d70 100644
--- a/internal/processing/fromclientapi.go
+++ b/internal/processing/fromclientapi.go
@@ -61,7 +61,7 @@ func (p *processor) ProcessFromClientAPI(ctx context.Context, clientMsg messages
return errors.New("followrequest was not parseable as *gtsmodel.FollowRequest")
}
- if err := p.notifyFollowRequest(ctx, followRequest, clientMsg.TargetAccount); err != nil {
+ if err := p.notifyFollowRequest(ctx, followRequest); err != nil {
return err
}