forked from friendica/friendica-addons
		
	LSR: Show preview pictures of videos (should be legally safe)
This commit is contained in:
		
					parent
					
						
							
								2d6a56e5e8
							
						
					
				
			
			
				commit
				
					
						6765fec7b1
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -29,7 +29,7 @@ function leistungsschutzrecht_getsiteinfo($a, &$siteinfo) { | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	// Avoid any third party pictures, to avoid copyright issues
 | 	// Avoid any third party pictures, to avoid copyright issues
 | ||||||
| 	if (($siteinfo['type'] != 'photo') && Config::get('leistungsschutzrecht', 'suppress_photos', false)) { | 	if (!in_array($siteinfo['type'], ['photo', 'video']) && Config::get('leistungsschutzrecht', 'suppress_photos', false)) { | ||||||
| 		unset($siteinfo["image"]); | 		unset($siteinfo["image"]); | ||||||
| 		unset($siteinfo["images"]); | 		unset($siteinfo["images"]); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue