diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 14:34:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-18 14:34:47 +0900 |
| commit | d78a5c0863b75ad51f739caf6c6eb129cc958b36 (patch) | |
| tree | f0e0facf7152380098fe36401f40d4786eb579df /src/server/api | |
| parent | Add type annotations (diff) | |
| download | sharkey-d78a5c0863b75ad51f739caf6c6eb129cc958b36.tar.gz sharkey-d78a5c0863b75ad51f739caf6c6eb129cc958b36.tar.bz2 sharkey-d78a5c0863b75ad51f739caf6c6eb129cc958b36.zip | |
Fix #4703
Diffstat (limited to 'src/server/api')
| -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..5bf23715ef 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 === 'home') )) return; if (['followers', 'specified'].includes(note.visibility)) { |