add a FIXME
This commit is contained in:
		
							parent
							
								
									de60232020
								
							
						
					
					
						commit
						9fb9894092
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -86,7 +86,8 @@ def get_first_contact_instance_from_jid(account, jid):
 | 
			
		|||
	if jid in contacts[account]:
 | 
			
		||||
		contact = contacts[account][jid][0]
 | 
			
		||||
	else: # it's fake jid
 | 
			
		||||
		nick = get_nick_from_fjid(jid)
 | 
			
		||||
		#FIXME: problem see comment in next line
 | 
			
		||||
		nick = get_nick_from_fjid(jid) # if we ban/kick we now real jid
 | 
			
		||||
		if nick in gc_contacts[room_jid]:
 | 
			
		||||
			contact = gc_contacts[room_jid][nick] # always only one instance
 | 
			
		||||
	return contact
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue