prevent traceback
This commit is contained in:
		
							parent
							
								
									b0e1bbac56
								
							
						
					
					
						commit
						7bdacfaa04
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1636,6 +1636,8 @@ class Connection(CommonConnection, ConnectionHandlers):
 | 
			
		|||
            self._stun_servers = self._hosts = [i for i in result_array]
 | 
			
		||||
 | 
			
		||||
    def _request_privacy(self):
 | 
			
		||||
        if not gajim.account_is_connected(self.name):
 | 
			
		||||
            return
 | 
			
		||||
        iq = common.xmpp.Iq('get', common.xmpp.NS_PRIVACY, xmlns = '')
 | 
			
		||||
        id_ = self.connection.getAnID()
 | 
			
		||||
        iq.setID(id_)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue