diff --git a/src/tweets/tweets.repository.ts b/src/tweets/tweets.repository.ts index 19e7b71..0cdfcb6 100644 --- a/src/tweets/tweets.repository.ts +++ b/src/tweets/tweets.repository.ts @@ -111,6 +111,10 @@ export class TweetsRepository extends Repository { 'tweet.profile_user_id NOT IN (SELECT muted_id FROM user_mutes WHERE muter_id = :user_id)', { user_id } ) + .andWhere( + 'tweet.tweet_author_id NOT IN (SELECT blocked_id FROM user_blocks WHERE blocker_id = :user_id)', + { user_id } + ) .andWhere( new Brackets((qb) => qb