Skip to content

Commit

Permalink
Fix(backend) :管理者のコントロールパネルでシステムにしたときリモートファイルも表示される (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net authored Feb 11, 2025
1 parent a896c5a commit 247831c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG_YOJO.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Misskey 2024.10.1

### Server
- 絵文字連合で`author`がなければ`creator`の値を使うように [#640](https://github.com/yojo-art/cherrypick/pull/640)

- Fix: 管理者のコントロールパネルでシステムにしたときリモートファイルも表示される[#641](https://github.com/yojo-art/cherrypick/pull/641)
## 1.3.0
Cherrypick 4.13.0
Misskey 2024.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
query.andWhere('file.userHost IS NOT NULL');
} else if (ps.origin === 'system') {
query.andWhere('file.userId IS NULL');
query.andWhere('file.userHost IS NULL');
}

if (ps.hostname) {
Expand Down

0 comments on commit 247831c

Please sign in to comment.