Prevent notification from pending subscriptions

pull/5817/head
Chocobozzz 2023-05-17 15:02:23 +02:00
parent d381e967c4
commit f530dde244
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -550,6 +550,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
model: ActorFollowModel.unscoped(),
required: true,
where: {
state: 'accepted',
targetActorId: actorId
}
}