diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 22:01:45 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 22:01:45 +0900 |
| commit | 7b44727b23869bcf513da772f1fc27887f9b9ab4 (patch) | |
| tree | 3a23c5a7763fd83f005fb08fce941f02e999905c /src/server/api/stream | |
| parent | Merge branch 'develop' (diff) | |
| parent | 11.2.0 (diff) | |
| download | misskey-7b44727b23869bcf513da772f1fc27887f9b9ab4.tar.gz misskey-7b44727b23869bcf513da772f1fc27887f9b9ab4.tar.bz2 misskey-7b44727b23869bcf513da772f1fc27887f9b9ab4.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/server/api/stream')
| -rw-r--r-- | src/server/api/stream/channels/hybrid-timeline.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/stream/channels/hybrid-timeline.ts b/src/server/api/stream/channels/hybrid-timeline.ts index 18e6aa8350..a8020bfcfa 100644 --- a/src/server/api/stream/channels/hybrid-timeline.ts +++ b/src/server/api/stream/channels/hybrid-timeline.ts @@ -20,11 +20,11 @@ export default class extends Channel { @autobind private async onNote(note: any) { - // 自分自身の投稿 または その投稿のユーザーをフォローしている または ローカルの投稿 の場合だけ + // 自分自身の投稿 または その投稿のユーザーをフォローしている または 全体公開のローカルの投稿 の場合だけ if (!( this.user!.id === note.userId || this.following.includes(note.userId) || - note.user.host == null + (note.user.host == null && note.visibility === 'public') )) return; if (['followers', 'specified'].includes(note.visibility)) { |