only print esession details once when opening a chat
This commit is contained in:
		
							parent
							
								
									7e5b9ab20d
								
							
						
					
					
						commit
						53e6204071
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2412,9 +2412,6 @@ class ChatControl(ChatControlBase):
 | 
			
		|||
			jid_with_resource += '/' + self.resource
 | 
			
		||||
		events = gajim.events.get_events(self.account, jid_with_resource)
 | 
			
		||||
 | 
			
		||||
		if hasattr(self, 'session') and self.session and self.session.enable_encryption:
 | 
			
		||||
			self.print_esession_details()
 | 
			
		||||
 | 
			
		||||
		# list of message ids which should be marked as read
 | 
			
		||||
		message_ids = []
 | 
			
		||||
		for event in events:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue