try to prevent a TB
This commit is contained in:
		
							parent
							
								
									713b996d2f
								
							
						
					
					
						commit
						3227d67666
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -1303,9 +1303,10 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
 | 
				
			||||||
		model = self.tree.get_model()
 | 
							model = self.tree.get_model()
 | 
				
			||||||
		accountIter = self.get_account_iter(account)
 | 
							accountIter = self.get_account_iter(account)
 | 
				
			||||||
		if accountIter:
 | 
							if accountIter:
 | 
				
			||||||
			model.set_value(accountIter, 0, self.jabber_state_images[status])
 | 
								model[accountIter][0] = self.jabber_state_images[status]
 | 
				
			||||||
		if status == 'offline':
 | 
							if status == 'offline':
 | 
				
			||||||
			model[accountIter][6] = None
 | 
								if accountIter:
 | 
				
			||||||
 | 
									model[accountIter][6] = None
 | 
				
			||||||
			for jid in gajim.contacts[account]:
 | 
								for jid in gajim.contacts[account]:
 | 
				
			||||||
				luser = gajim.contacts[account][jid]
 | 
									luser = gajim.contacts[account][jid]
 | 
				
			||||||
				luser_copy = []
 | 
									luser_copy = []
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue