revert [10494]. see #4388
This commit is contained in:
parent
7b2cff658c
commit
96dd7b8ba7
|
@ -945,6 +945,7 @@ class Connection(ConnectionHandlers):
|
||||||
self.connection = con
|
self.connection = con
|
||||||
if not self.connection:
|
if not self.connection:
|
||||||
return
|
return
|
||||||
|
self.connection.set_send_timeout(self.keepalives, self.sendPing)
|
||||||
self.connection.onreceive(None)
|
self.connection.onreceive(None)
|
||||||
iq = common.xmpp.Iq('get', common.xmpp.NS_PRIVACY, xmlns = '')
|
iq = common.xmpp.Iq('get', common.xmpp.NS_PRIVACY, xmlns = '')
|
||||||
id = self.connection.getAnID()
|
id = self.connection.getAnID()
|
||||||
|
|
|
@ -2313,7 +2313,6 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
self.discoverInfo(jid)
|
self.discoverInfo(jid)
|
||||||
|
|
||||||
self.dispatch('ROSTER', roster)
|
self.dispatch('ROSTER', roster)
|
||||||
self.connection.set_send_timeout(self.keepalives, self.sendPing)
|
|
||||||
|
|
||||||
def _send_first_presence(self, signed = ''):
|
def _send_first_presence(self, signed = ''):
|
||||||
show = self.continue_connect_info[0]
|
show = self.continue_connect_info[0]
|
||||||
|
|
Loading…
Reference in New Issue