mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	Resolve frontend/backend contradiction for home visibility embeds
This now uses the same check from `packages/frontend/src/scripts/get-note-menu.ts`
This commit is contained in:
		
							parent
							
								
									f59af78d8a
								
							
						
					
					
						commit
						85bbfd2e2b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -833,7 +833,7 @@ export class ClientServerService {
 | 
			
		|||
			});
 | 
			
		||||
 | 
			
		||||
			if (note == null) return;
 | 
			
		||||
			if (note.visibility !== 'public') return;
 | 
			
		||||
			if (['specified', 'followers'].includes(note.visibility)) return;
 | 
			
		||||
			if (note.userHost != null) return;
 | 
			
		||||
 | 
			
		||||
			const _note = await this.noteEntityService.pack(note, null, { detail: true });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue