the delayed timestamp in before time.time() !
This commit is contained in:
parent
229863bc0b
commit
e1020b288f
|
@ -277,7 +277,7 @@ class Protocol(Node):
|
|||
self.timestamp=None
|
||||
for x in self.getTags('x',namespace=NS_DELAY):
|
||||
try:
|
||||
if x.getAttr('stamp')>self.getTimestamp(): self.setTimestamp(x.getAttr('stamp'))
|
||||
if x.getAttr('stamp')<self.getTimestamp(): self.setTimestamp(x.getAttr('stamp'))
|
||||
except: pass
|
||||
if timestamp is not None: self.setTimestamp(timestamp) # To auto-timestamp stanza just pass timestamp=''
|
||||
def getTo(self):
|
||||
|
|
Loading…
Reference in New Issue