show in GUI that we are offline when we don't get XMPP ping in time
This commit is contained in:
		
							parent
							
								
									419652d61f
								
							
						
					
					
						commit
						436c75a244
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1618,7 +1618,7 @@ class Connection(ConnectionHandlers):
 | 
			
		|||
	def check_keepalive(self):
 | 
			
		||||
		if self.awaiting_xmpp_ping_id:
 | 
			
		||||
			# We haven't got the pong in time, disco and reconnect
 | 
			
		||||
			self.disconnect()
 | 
			
		||||
			self._disconnectedReconnCB()
 | 
			
		||||
 | 
			
		||||
	def _reconnect_alarm(self):
 | 
			
		||||
		if self.time_to_reconnect:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue