Prevent notification from pending subscriptions
This commit is contained in:
parent
d381e967c4
commit
f530dde244
|
@ -550,6 +550,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
|
||||||
model: ActorFollowModel.unscoped(),
|
model: ActorFollowModel.unscoped(),
|
||||||
required: true,
|
required: true,
|
||||||
where: {
|
where: {
|
||||||
|
state: 'accepted',
|
||||||
targetActorId: actorId
|
targetActorId: actorId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue