1
0
Fork 0

Prevent notification from pending subscriptions

This commit is contained in:
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
}
}