fedimbed.bluesky: fix quoted embeds
This commit is contained in:
		
							parent
							
								
									a1052066d4
								
							
						
					
					
						commit
						6494ee3226
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -139,7 +139,7 @@ async function blueskyQuoteEmbed(quote, videos) {
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  if (quote.embeds?.[0]) {
 | 
			
		||||
    const embed = embeds[0];
 | 
			
		||||
    const embed = quote.embeds[0];
 | 
			
		||||
    switch (embed.$type) {
 | 
			
		||||
      case "app.bsky.embed.images#view": {
 | 
			
		||||
        embeds.push(...embed.images.map((image) => ({...mainEmbed, image: {url: image.fullsize}})));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue