Skip to content

Commit

Permalink
メンションが含まれている投稿はcleanしないように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Sep 17, 2020
1 parent b7f4dbb commit c4c9120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/clean-old-posts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ async function main(days = 90) {
{
renoteId: null,
},
{
mentions: { $exists: false } // TODO: ローカルユーザーへのメンションが含まれている場合のみにする
},
],
});

Expand Down

0 comments on commit c4c9120

Please sign in to comment.