parent
							
								
									a91f5f2c49
								
							
						
					
					
						commit
						633795b7f4
					
				
					 1 changed files with 10 additions and 4 deletions
				
			
		|  | @ -226,6 +226,12 @@ class MUC: | |||
|                 # handled by the opened ChatControl | ||||
|                 break | ||||
| 
 | ||||
|             if contact is None: | ||||
|                 # If contact is None, its probably that a user left from a not | ||||
|                 # insync MUC, can happen on older servers | ||||
|                 log.warning('Unknown contact left groupchat: %s', | ||||
|                             properties.jid) | ||||
|             else: | ||||
|                 # We remove the contact from the MUC, but there could be | ||||
|                 # a PrivateChatControl open, so we update the contacts presence | ||||
|                 contact.presence = properties.type | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue