mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-11-04 10:11:05 +01:00 
			
		
		
		
	Actually assign result to variable
This commit is contained in:
		
							parent
							
								
									93247a424a
								
							
						
					
					
						commit
						e1e7d76cf1
					
				@ -372,7 +372,7 @@ class PreviewUrlResource(Resource):
 | 
				
			|||||||
        # may have a room open with a preview url thing open).
 | 
					        # may have a room open with a preview url thing open).
 | 
				
			||||||
        # So we wait a couple of days before deleting, just in case.
 | 
					        # So we wait a couple of days before deleting, just in case.
 | 
				
			||||||
        expire_before = now - 2 * 24 * 60 * 60 * 1000
 | 
					        expire_before = now - 2 * 24 * 60 * 60 * 1000
 | 
				
			||||||
        yield self.store.get_url_cache_media_before(expire_before)
 | 
					        media_ids = yield self.store.get_url_cache_media_before(expire_before)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        removed_media = []
 | 
					        removed_media = []
 | 
				
			||||||
        for media_id in media_ids:
 | 
					        for media_id in media_ids:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user