Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2018-12-28 02:42:50 +0300
committerPhilipp Hörist <philipp@hoerist.com>2018-12-30 21:49:08 +0300
commita6f414a3e02fbd9ba1c90faf91b63a5526f6caef (patch)
treedd1454ade9aa09b0b2cd83a43b6995af60b74fb1 /nbxmpp/structs.py
parent4b4476d2660e75e16848616ea2560a9fe1ffb836 (diff)
Parse presence delays
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index 7f3b54f..e577e43 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -118,6 +118,8 @@ class PresenceProperties:
self.self_presence = False
self.from_muc = False
self.status = ''
+ self.timestamp = time.time()
+ self.user_timestamp = None
self.idle_timestamp = None
self.signed = None
self.error_message = ''