aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-17 15:02:23 +0200
committerChocobozzz <me@florianbigard.com>2023-05-17 15:02:23 +0200
commitf530dde2443f23dbb7b90dd82e84c0701e877a93 (patch)
treea92cc049dd55f1071930b825f682c3c5c98430d6 /server/models
parentd381e967c4b7ded8765f8432fac4d109beb40105 (diff)
downloadPeerTube-f530dde2443f23dbb7b90dd82e84c0701e877a93.tar.gz
PeerTube-f530dde2443f23dbb7b90dd82e84c0701e877a93.tar.zst
PeerTube-f530dde2443f23dbb7b90dd82e84c0701e877a93.zip
Prevent notification from pending subscriptions
Diffstat (limited to 'server/models')
-rw-r--r--server/models/user/user.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts
index b6b120c92..735b5c171 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>>> {
550 model: ActorFollowModel.unscoped(), 550 model: ActorFollowModel.unscoped(),
551 required: true, 551 required: true,
552 where: { 552 where: {
553 state: 'accepted',
553 targetActorId: actorId 554 targetActorId: actorId
554 } 555 }
555 } 556 }