summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-14 18:26:01 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-14 18:26:01 +0000
commit93351156a122dd7e374778c1c838b5c4c1dda83d (patch)
tree27566d15029a62b073f6fa4965a8ebcb956137d1 /src/gui.py
parent25e82efebfe97b3efc6366bf32eaf7282c69bc39 (diff)
downloadpoezio-93351156a122dd7e374778c1c838b5c4c1dda83d.tar.gz
poezio-93351156a122dd7e374778c1c838b5c4c1dda83d.tar.bz2
poezio-93351156a122dd7e374778c1c838b5c4c1dda83d.tar.xz
poezio-93351156a122dd7e374778c1c838b5c4c1dda83d.zip
history time is now correct. fixed #1571
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui.py b/src/gui.py
index 4e05d5d7..96f27907 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -377,8 +377,7 @@ class Gui(object):
"""
Display the message on the room window
"""
- delay_tag = stanza.getTag('delay', namespace='urn:xmpp:delay')
- if delay_tag and not date:
+ if delay_tag:
delayed = True
date = common.datetime_tuple(delay_tag.getAttr('stamp'))
else: