don't consider buggy messages as groupchat messages if there is no nickname. Fixes #3700
This commit is contained in:
		
							parent
							
								
									1c0dd1fd3b
								
							
						
					
					
						commit
						750af45abe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -145,7 +145,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
 | 
			
		|||
 | 
			
		||||
		pm = False
 | 
			
		||||
		if groupchat_control and groupchat_control.type_id == \
 | 
			
		||||
		message_control.TYPE_GC:
 | 
			
		||||
		message_control.TYPE_GC and resource:
 | 
			
		||||
			# It's a Private message
 | 
			
		||||
			pm = True
 | 
			
		||||
			msg_type = 'pm'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue