diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/server/follows.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/controllers/api/server/follows.ts b/server/controllers/api/server/follows.ts index c87107197..b93d8a816 100644 --- a/server/controllers/api/server/follows.ts +++ b/server/controllers/api/server/follows.ts | |||
@@ -124,9 +124,7 @@ function follow (fromActor: ActorModel, targetActor: ActorModel) { | |||
124 | actorFollow.ActorFollower = fromActor | 124 | actorFollow.ActorFollower = fromActor |
125 | 125 | ||
126 | // Send a notification to remote server | 126 | // Send a notification to remote server |
127 | if (actorFollow.state === 'pending') { | 127 | await sendFollow(actorFollow, t) |
128 | await sendFollow(actorFollow, t) | ||
129 | } | ||
130 | }) | 128 | }) |
131 | } | 129 | } |
132 | 130 | ||