fix traceback. Fixes #7340
This commit is contained in:
		
							parent
							
								
									e406526ad7
								
							
						
					
					
						commit
						76886ff6c9
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -1022,6 +1022,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
        if kind in ('incoming', 'outgoing'):
 | 
					        if kind in ('incoming', 'outgoing'):
 | 
				
			||||||
            self.last_received_txt[name] = text
 | 
					            self.last_received_txt[name] = text
 | 
				
			||||||
 | 
					            if correct_id:
 | 
				
			||||||
                self.last_received_id[name] = correct_id[0]
 | 
					                self.last_received_id[name] = correct_id[0]
 | 
				
			||||||
        if kind == 'incoming':
 | 
					        if kind == 'incoming':
 | 
				
			||||||
            if not self.type_id == message_control.TYPE_GC or \
 | 
					            if not self.type_id == message_control.TYPE_GC or \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue