summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/text_buffer.py')
-rw-r--r--poezio/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index 48ec1e21..c25c172c 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -287,7 +287,7 @@ class TextBuffer:
'sent by the same fullJID' % (orig_id, new_id))
if not time:
- time = msg.time
+ time = datetime.now()
self.correction_ids[new_id] = orig_id
message = Message(