get gajim module where it is. fixes #3661
This commit is contained in:
		
							parent
							
								
									2aef21f026
								
							
						
					
					
						commit
						13b6d75588
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -475,10 +475,10 @@ class Contacts:
 | 
			
		|||
			return 1
 | 
			
		||||
		if show2 > show1:
 | 
			
		||||
			return -1
 | 
			
		||||
		server1 = gajim.get_server_from_jid(jid1)
 | 
			
		||||
		server2 = gajim.get_server_from_jid(jid2)
 | 
			
		||||
		myserver1 = gajim.config.get_per('accounts', account1, 'hostname')
 | 
			
		||||
		myserver2 = gajim.config.get_per('accounts', account2, 'hostname')
 | 
			
		||||
		server1 = common.gajim.get_server_from_jid(jid1)
 | 
			
		||||
		server2 = common.gajim.get_server_from_jid(jid2)
 | 
			
		||||
		myserver1 = common.gajim.config.get_per('accounts', account1, 'hostname')
 | 
			
		||||
		myserver2 = common.gajim.config.get_per('accounts', account2, 'hostname')
 | 
			
		||||
		if server1 == myserver1:
 | 
			
		||||
			if server2 != myserver2:
 | 
			
		||||
				return 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue