diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2018-11-16 05:47:29 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-11-16 05:47:29 +0900 |
| commit | bceb02d760f53877f0f677144bc468ffbc4e66f2 (patch) | |
| tree | cc12d9836b81deecead9417c8fd6df635784fefd /src/server/activitypub | |
| parent | [Client] Add missing icon (diff) | |
| download | sharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.tar.gz sharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.tar.bz2 sharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.zip | |
local only visibility (#3254)
* local only visibility
* fix UI
Diffstat (limited to 'src/server/activitypub')
| -rw-r--r-- | src/server/activitypub/outbox.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/activitypub/outbox.ts b/src/server/activitypub/outbox.ts index 24d4e3730e..6b917ef843 100644 --- a/src/server/activitypub/outbox.ts +++ b/src/server/activitypub/outbox.ts @@ -55,7 +55,8 @@ export default async (ctx: Router.IRouterContext) => { const query = { userId: user._id, - visibility: { $in: ['public', 'home'] } + visibility: { $in: ['public', 'home'] }, + localOnly: { $ne: true } } as any; if (sinceId) { |