mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-04 06:31:57 +00:00 
			
		
		
		
	Fix displaying author name for community posts (#3590)
This commit is contained in:
		@@ -69,7 +69,7 @@ def fetch_channel_community(ucid, continuation, locale, format, thin_mode)
 | 
				
			|||||||
            next if !post
 | 
					            next if !post
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            content_html = post["contentText"]?.try { |t| parse_content(t) } || ""
 | 
					            content_html = post["contentText"]?.try { |t| parse_content(t) } || ""
 | 
				
			||||||
            author = post["authorText"]?.try &.["simpleText"]? || ""
 | 
					            author = post["authorText"]["runs"]?.try &.[0]?.try &.["text"]? || ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            json.object do
 | 
					            json.object do
 | 
				
			||||||
              json.field "author", author
 | 
					              json.field "author", author
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user