summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
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: