summaryrefslogtreecommitdiff
path: root/src/services/note
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/note')
-rw-r--r--src/services/note/create.ts1
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) {