diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-08-29 09:39:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-08-29 09:39:50 +0900 |
| commit | 42d1c67d568e424f9f7cdecacb72de90a8ccb69c (patch) | |
| tree | c74fd13106020f97303100a3bf73bc60f47dada7 /src | |
| parent | Expose proxyAccountName (#6670) (diff) | |
| download | sharkey-42d1c67d568e424f9f7cdecacb72de90a8ccb69c.tar.gz sharkey-42d1c67d568e424f9f7cdecacb72de90a8ccb69c.tar.bz2 sharkey-42d1c67d568e424f9f7cdecacb72de90a8ccb69c.zip | |
fix(server): Fix #6669
Diffstat (limited to 'src')
| -rw-r--r-- | src/services/note/create.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts index a530b86f55..c8e3db540d 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -135,6 +135,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N if (data.localOnly == null) data.localOnly = false; if (data.channel != null) data.visibility = 'public'; if (data.channel != null) data.visibleUsers = []; + if (data.channel != null) data.localOnly = true; // サイレンス if (user.isSilenced && data.visibility === 'public' && data.channel == null) { |