when we add a new account, we must update all variables
This commit is contained in:
		
							parent
							
								
									bcea8538bc
								
							
						
					
					
						commit
						c269731e2d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -652,6 +652,8 @@ class GajimCore:
 | 
				
			||||||
							self.connected[a] = 0
 | 
												self.connected[a] = 0
 | 
				
			||||||
						if not self.gpg.has_key(a) and USE_GPG:
 | 
											if not self.gpg.has_key(a) and USE_GPG:
 | 
				
			||||||
							self.gpg[a] = MyGnuPG()
 | 
												self.gpg[a] = MyGnuPG()
 | 
				
			||||||
 | 
											if not self.passwords.keys():
 | 
				
			||||||
 | 
												self.connected[a] = 0
 | 
				
			||||||
				else:
 | 
									else:
 | 
				
			||||||
					self.cfgParser.tab[ev[2][0]] = ev[2][1]
 | 
										self.cfgParser.tab[ev[2][0]] = ev[2][1]
 | 
				
			||||||
				if ev[2][0] != ev[2][2]:
 | 
									if ev[2][0] != ev[2][2]:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue