fedimbed.bluesky: copypaste moment
This commit is contained in:
		
							parent
							
								
									232a0f0115
								
							
						
					
					
						commit
						ad54973479
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -477,8 +477,8 @@ async function bluesky(msg, url, spoiler = false) {
 | 
			
		|||
 | 
			
		||||
          embeds.push({...mainEmbed, fields: [{name: "\u200b", value: `[Video Link](${videoUrl})`}]});
 | 
			
		||||
        } else if (post.embed.media.$type === "app.bsky.embed.external#view") {
 | 
			
		||||
          if (post.embed.external.uri.includes("tenor.com")) {
 | 
			
		||||
            const url = new URL(post.embed.external.uri);
 | 
			
		||||
          if (post.embed.media.external.uri.includes("tenor.com")) {
 | 
			
		||||
            const url = new URL(post.embed.media.external.uri);
 | 
			
		||||
            url.searchParams.delete("hh");
 | 
			
		||||
            url.searchParams.delete("ww");
 | 
			
		||||
            embeds.push({...mainEmbed, image: {url: url.toString()}});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue