make sure SM is disabled with reconnecting
This commit is contained in:
		
							parent
							
								
									e0bcd1eceb
								
							
						
					
					
						commit
						8700389d98
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -811,6 +811,7 @@ class Connection(CommonConnection, ConnectionHandlers):
 | 
			
		|||
                gajim.nec.push_incoming_event(OurShowEvent(None, conn=self,
 | 
			
		||||
                    show='offline'))
 | 
			
		||||
            else:
 | 
			
		||||
                self.sm.enabled = False
 | 
			
		||||
                gajim.nec.push_incoming_event(OurShowEvent(None, conn=self,
 | 
			
		||||
                    show='error'))
 | 
			
		||||
            self.disconnect()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue