diff options
author | 2021-05-28 19:57:04 +0200 | |
---|---|---|
committer | 2021-05-28 19:57:04 +0200 | |
commit | 87177d840b9703f572392ef4bd0f5013fd5c3a77 (patch) | |
tree | c59388998d5defd5ec3577483f70736238953f72 /internal/message/accountprocess.go | |
parent | Notifications (#34) (diff) | |
download | gotosocial-87177d840b9703f572392ef4bd0f5013fd5c3a77.tar.xz |
Announce/boost (#35)
Remote boosts incoming/outgoing now working.
Diffstat (limited to 'internal/message/accountprocess.go')
-rw-r--r-- | internal/message/accountprocess.go | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/internal/message/accountprocess.go b/internal/message/accountprocess.go index 22542f0c3..8847e5789 100644 --- a/internal/message/accountprocess.go +++ b/internal/message/accountprocess.go @@ -454,13 +454,9 @@ func (p *processor) AccountFollowCreate(authed *oauth.Auth, form *apimodel.Accou p.fromClientAPI <- gtsmodel.FromClientAPI{ APObjectType: gtsmodel.ActivityStreamsFollow, APActivityType: gtsmodel.ActivityStreamsCreate, - GTSModel: >smodel.Follow{ - AccountID: authed.Account.ID, - TargetAccountID: form.TargetAccountID, - URI: fr.URI, - }, - OriginAccount: authed.Account, - TargetAccount: targetAcct, + GTSModel: fr, + OriginAccount: authed.Account, + TargetAccount: targetAcct, } // return whatever relationship results from this |