don't traceback when using metacontact over several accounts. Fixes #5616
This commit is contained in:
		
							parent
							
								
									455b1df248
								
							
						
					
					
						commit
						16607e0909
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -509,6 +509,8 @@ class Interface:
 | 
			
		|||
                        jid_ = info['jid']
 | 
			
		||||
                        c_ = gajim.contacts.get_contact_with_highest_priority(
 | 
			
		||||
                            acct_, jid_)
 | 
			
		||||
                        if not c_:
 | 
			
		||||
                            continue
 | 
			
		||||
                        if c_.show not in ('offline', 'error'):
 | 
			
		||||
                            show_notif = False
 | 
			
		||||
                            break
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue