Revert "リモートユーザーはcanPublicNoteがfalseでもhomeにしないように"
This reverts commit b2117ba3a1.
			
			
This commit is contained in:
		
							parent
							
								
									6458239a7c
								
							
						
					
					
						commit
						4e39e690b6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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'; | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue