fedimbed: limmy has author url as id not url
This commit is contained in:
		
							parent
							
								
									39ec14a6b0
								
							
						
					
					
						commit
						c55db86e53
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -435,7 +435,7 @@ async function processUrl(msg, url, spoiler = false) {
 | 
			
		|||
      });
 | 
			
		||||
 | 
			
		||||
    if (authorData) {
 | 
			
		||||
      const authorUrlObj = new URL(authorData.url);
 | 
			
		||||
      const authorUrlObj = new URL(authorData.url ?? authorData.id);
 | 
			
		||||
      author = {
 | 
			
		||||
        name: authorData.name,
 | 
			
		||||
        handle: `${authorData.preferredUsername}@${authorUrlObj.hostname}`,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue