reset last_incoming value when we connect
This commit is contained in:
parent
f2cedc68a3
commit
a99c509b24
|
@ -712,6 +712,7 @@ class Connection:
|
||||||
return None
|
return None
|
||||||
if auth:
|
if auth:
|
||||||
con.initRoster()
|
con.initRoster()
|
||||||
|
self.last_incoming = time.time()
|
||||||
self.connected = 2
|
self.connected = 2
|
||||||
return con # return connection
|
return con # return connection
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue