diff options
author | 2021-10-01 19:08:50 +0200 | |
---|---|---|
committer | 2021-10-01 19:08:50 +0200 | |
commit | 9ce4234b9fd1e201faf015df52bfc35db259dd46 (patch) | |
tree | 98c27c89aa018fafabf00e4e462f1af84208c760 /internal/processing/fromclientapi.go | |
parent | rework mention replacement func (#258) (diff) | |
download | gotosocial-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.go | 2 |
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 } |