diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 14:41:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 14:41:51 +0900 |
| commit | 80b83c06248e27e0ea55fe89119d1d6241455411 (patch) | |
| tree | 4e87aadcd3c74179a283405536590b6e489ac46b /src/server/api/stream/channels | |
| parent | Add test (diff) | |
| download | sharkey-80b83c06248e27e0ea55fe89119d1d6241455411.tar.gz sharkey-80b83c06248e27e0ea55fe89119d1d6241455411.tar.bz2 sharkey-80b83c06248e27e0ea55fe89119d1d6241455411.zip | |
間違えた
Diffstat (limited to 'src/server/api/stream/channels')
| -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 5bf23715ef..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.visibility === 'home') + (note.user.host == null && note.visibility === 'public') )) return; if (['followers', 'specified'].includes(note.visibility)) { |