Zeroconf: Store time of outgoing messages

This commit is contained in:
Philipp Hörist 2018-09-15 12:00:32 +02:00 committed by Philipp Hörist
parent e3be3af76e
commit e953820ff8
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
# Dont propagate event
return True
obj.timestamp = time.time()
ret = self.connection.send(
obj.msg_iq, obj.message is not None,
on_ok=on_send_ok, on_not_ok=on_send_not_ok)