bugfix: when a user go offline and quickly online it was removed from the roster
This commit is contained in:
		
							parent
							
								
									be913f8f27
								
							
						
					
					
						commit
						00c7b60f18
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -149,6 +149,8 @@ class Roster_window:
 | 
			
		|||
		self.draw_contact(jid, account)
 | 
			
		||||
	
 | 
			
		||||
	def really_remove_user(self, user, account):
 | 
			
		||||
		if user.jid in self.newly_added[account]:
 | 
			
		||||
			return
 | 
			
		||||
		if user.jid in self.to_be_removed[account]:
 | 
			
		||||
			self.to_be_removed[account].remove(user.jid)
 | 
			
		||||
		self.remove_user(user, account)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue