Skip to content

Commit

Permalink
chore: exclude kon_nirila_misskey from featured
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Nov 27, 2023
1 parent 44710cd commit 1c31442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
## 2023.x.x-kinel.x (unreleased)

### General
- γ“γ‚“γ«γ‚Šγ‚‰γΏγ™γγƒΌιƒ¨γŒγƒγ‚€γƒ©γ‚€γƒˆγ‹γ‚‰ι™€ε€–γ•γ‚Œγ‚‹γ‚ˆγ†γ«γͺγ‚ŠγΎγ—γŸ

### Client

Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/core/FeaturedService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class FeaturedService {
// Will get many reaction`:ohayo_nirila_misskey:` or `:oyasumi_nirila_misskey:` so exclude them
// if they don't have any images.
if (note.fileIds.length === 0) {
for (const exclusion of ["γŠγ―γ‚ˆγ†", "γŠγ‚„γ™γΏ", ":ohayo_nirila_misskey:", ":oyasumi_nirila_misskey:"]) {
for (const exclusion of ["γŠγ―γ‚ˆγ†", "γŠγ‚„γ™γΏ", ":ohayo_nirila_misskey:", ":oyasumi_nirila_misskey:", ":kon_nirila_misskey:"]) {
if (note.text?.includes(exclusion)) return false;
if (note.cw?.includes(exclusion)) return false;
}
Expand Down

0 comments on commit 1c31442

Please sign in to comment.