mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-11-04 10:11:05 +01:00 
			
		
		
		
	Include the clock
This commit is contained in:
		
							parent
							
								
									7dd3bf5e24
								
							
						
					
					
						commit
						c2ddd773bc
					
				@ -72,6 +72,7 @@ class SimpleHttpClient(object):
 | 
				
			|||||||
            contextFactory=hs.get_http_client_context_factory()
 | 
					            contextFactory=hs.get_http_client_context_factory()
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
        self.user_agent = hs.version_string
 | 
					        self.user_agent = hs.version_string
 | 
				
			||||||
 | 
					        self.clock = hs.get_clock()
 | 
				
			||||||
        if hs.config.user_agent_suffix:
 | 
					        if hs.config.user_agent_suffix:
 | 
				
			||||||
            self.user_agent = "%s %s" % (self.user_agent, hs.config.user_agent_suffix,)
 | 
					            self.user_agent = "%s %s" % (self.user_agent, hs.config.user_agent_suffix,)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user