Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Prevent notification from pending subscriptions

Chocobozzzf530dde2443f
diff --git a/server/models/user/user.ts b/server/models/user/user.ts
index b6b120c92a..735b5c1717 100644
--- a/server/models/user/user.ts
+++ b/server/models/user/user.ts
@@ -550,6 +550,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
model: ActorFollowModel.unscoped(),
required: true,
where: {
+ state: 'accepted',
targetActorId: actorId
}
}