From 4e39e690b6b6eda436a1af2af16a6d36f73a6d33 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Fri, 13 Jan 2023 11:14:23 +0900
Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=83=AA=E3=83=A2=E3=83=BC=E3=83=88?=
 =?UTF-8?q?=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E3=81=AFcanPublicNote?=
 =?UTF-8?q?=E3=81=8Cfalse=E3=81=A7=E3=82=82home=E3=81=AB=E3=81=97=E3=81=AA?=
 =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit b2117ba3a18addea9f94fdda92029a6c0263cdab.
---
 packages/backend/src/core/NoteCreateService.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts
index f460a6f4ab..112b84fdf9 100644
--- a/packages/backend/src/core/NoteCreateService.ts
+++ b/packages/backend/src/core/NoteCreateService.ts
@@ -225,7 +225,7 @@ export class NoteCreateService {
 		if (data.channel != null) data.visibleUsers = [];
 		if (data.channel != null) data.localOnly = true;
 
-		if (data.visibility === 'public' && this.userEntityService.isLocalUser(user) && data.channel == null) {
+		if (data.visibility === 'public' && data.channel == null) {
 			if ((await this.roleService.getUserRoleOptions(user.id)).canPublicNote === false) {
 				data.visibility = 'home';
 			}