mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-11-04 10:11:05 +01:00 
			
		
		
		
	Don't block messages sending on bumping presence
This commit is contained in:
		
							parent
							
								
									9898bbd9dc
								
							
						
					
					
						commit
						586f474a44
					
				@ -279,7 +279,7 @@ class MessageHandler(BaseHandler):
 | 
			
		||||
 | 
			
		||||
        if event.type == EventTypes.Message:
 | 
			
		||||
            presence = self.hs.get_presence_handler()
 | 
			
		||||
            yield presence.bump_presence_active_time(user)
 | 
			
		||||
            preserve_fn(presence.bump_presence_active_time)(user)
 | 
			
		||||
 | 
			
		||||
    @defer.inlineCallbacks
 | 
			
		||||
    def deduplicate_state_event(self, event, context):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user