summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-18 14:41:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-18 14:41:51 +0900
commit80b83c06248e27e0ea55fe89119d1d6241455411 (patch)
tree4e87aadcd3c74179a283405536590b6e489ac46b /src/server
parentAdd test (diff)
downloadsharkey-80b83c06248e27e0ea55fe89119d1d6241455411.tar.gz
sharkey-80b83c06248e27e0ea55fe89119d1d6241455411.tar.bz2
sharkey-80b83c06248e27e0ea55fe89119d1d6241455411.zip
間違えた
Diffstat (limited to 'src/server')
-rw-r--r--src/server/api/stream/channels/hybrid-timeline.ts4
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)) {