summaryrefslogtreecommitdiff
path: root/internal/message/frprocess.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/message/frprocess.go')
-rw-r--r--internal/message/frprocess.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/message/frprocess.go b/internal/message/frprocess.go
index fd64b4c50..e229dcfbb 100644
--- a/internal/message/frprocess.go
+++ b/internal/message/frprocess.go
@@ -56,7 +56,7 @@ func (p *processor) FollowRequestAccept(auth *oauth.Auth, accountID string) (*ap
p.fromClientAPI <- gtsmodel.FromClientAPI{
APActivityType: gtsmodel.ActivityStreamsAccept,
- GTSModel: follow,
+ GTSModel: follow,
}
gtsR, err := p.db.GetRelationship(auth.Account.ID, accountID)
@@ -65,7 +65,7 @@ func (p *processor) FollowRequestAccept(auth *oauth.Auth, accountID string) (*ap
}
r, err := p.tc.RelationshipToMasto(gtsR)
- if err != nil {
+ if err != nil {
return nil, NewErrorInternalError(err)
}