prevent a TB
This commit is contained in:
		
							parent
							
								
									c0534e9515
								
							
						
					
					
						commit
						05793cc27c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1433,7 +1433,7 @@ class ChatControl(ChatControlBase):
 | 
			
		|||
		is_pm = False
 | 
			
		||||
		room_jid, nick = gajim.get_room_and_nick_from_fjid(jid)
 | 
			
		||||
		control = gajim.interface.msg_win_mgr.get_control(room_jid, self.account)
 | 
			
		||||
		if control.type_id == message_control.TYPE_GC:
 | 
			
		||||
		if control and control.type_id == message_control.TYPE_GC:
 | 
			
		||||
			is_pm = True
 | 
			
		||||
		events_to_keep = []
 | 
			
		||||
		for event in l:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue