summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-14 00:36:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-14 00:36:39 +0900
commitdc8f14c23aa01a9e145f77ea072cb7ae7f90c365 (patch)
treefad839417865b00dda824cdd1f5727a07c57c1a0 /src/server/api/endpoints/notes
parentMerge pull request #1880 from syuilo/l10n_master (diff)
downloadsharkey-dc8f14c23aa01a9e145f77ea072cb7ae7f90c365.tar.gz
sharkey-dc8f14c23aa01a9e145f77ea072cb7ae7f90c365.tar.bz2
sharkey-dc8f14c23aa01a9e145f77ea072cb7ae7f90c365.zip
Fix #1887
Diffstat (limited to 'src/server/api/endpoints/notes')
-rw-r--r--src/server/api/endpoints/notes/hybrid-timeline.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/api/endpoints/notes/hybrid-timeline.ts b/src/server/api/endpoints/notes/hybrid-timeline.ts
index c9b352fe8e..8b3537bb1e 100644
--- a/src/server/api/endpoints/notes/hybrid-timeline.ts
+++ b/src/server/api/endpoints/notes/hybrid-timeline.ts
@@ -124,6 +124,9 @@ export default async (params: any, user: ILocalUser) => {
// フォローしている人の投稿
$or: followQuery
}, {
+ // public only
+ visibility: 'public',
+
// local
'_user.host': null
}],